fix(yuri): SA on gusset. See #1464
This commit is contained in:
parent
52bbd6d7b5
commit
5d34d2f909
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,7 @@ export default function (part) {
|
||||||
.curve(points.cp1, points.cp2, points.right)
|
.curve(points.cp1, points.cp2, points.right)
|
||||||
.attr('class', 'fabric')
|
.attr('class', 'fabric')
|
||||||
|
|
||||||
paths.seam = paths.hat.join(paths.curve)
|
paths.seam = paths.hat.join(paths.curve).close()
|
||||||
|
|
||||||
// Complete?
|
// Complete?
|
||||||
if (complete) {
|
if (complete) {
|
||||||
|
@ -41,6 +41,7 @@ export default function (part) {
|
||||||
paths.sa = paths.hat
|
paths.sa = paths.hat
|
||||||
.offset(sa)
|
.offset(sa)
|
||||||
.join(paths.curve.offset(3 * sa))
|
.join(paths.curve.offset(3 * sa))
|
||||||
|
.close()
|
||||||
.attr('class', 'fabric sa')
|
.attr('class', 'fabric sa')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue