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