1
0
Fork 0

fix(paco): Only add paperless dimensions for pockets when option is set

Fixes https://github.com/freesewing/freesewing/issues/852
This commit is contained in:
Joost De Cock 2021-02-14 16:30:20 +01:00
parent b237855fc5
commit 3721e81f2f

View file

@ -287,6 +287,7 @@ export default function (part) {
to: points.fork, to: points.fork,
y: points.styleWaistIn.y - sa - 60 y: points.styleWaistIn.y - sa - 60
}) })
if (options.frontPockets) {
macro('ld', { macro('ld', {
from: points.pocketFlapTopIn, from: points.pocketFlapTopIn,
to: points.styleWaistOut, to: points.styleWaistOut,
@ -303,7 +304,7 @@ export default function (part) {
d: 15 d: 15
}) })
macro('ld', { macro('ld', {
from: points.styleWaistOut, from: points.styleWaistOut || points.waistOut,
to: points.topLeft, to: points.topLeft,
d: 10 + sa d: 10 + sa
}) })
@ -314,6 +315,7 @@ export default function (part) {
}) })
} }
} }
}
return part return part
} }