Fixes a bug where design crashes if (sa == 0 && paperless == true) due to a bug in the dimensions annotations.
This commit is contained in:
parent
012ee4c27b
commit
43db8f45d6
2 changed files with 2 additions and 4 deletions
|
@ -529,7 +529,7 @@ function draftBack({
|
||||||
macro('vd', {
|
macro('vd', {
|
||||||
id: 'vLegHemAllowance',
|
id: 'vLegHemAllowance',
|
||||||
from: points.outseamHem,
|
from: points.outseamHem,
|
||||||
to: points.outseamHemAllowance,
|
to: sa ? points.outseamHemAllowance : points.outseamHem,
|
||||||
x: points.waist.x + (sa + 15),
|
x: points.waist.x + (sa + 15),
|
||||||
noStartMarker: true,
|
noStartMarker: true,
|
||||||
noEndMarker: true,
|
noEndMarker: true,
|
||||||
|
|
|
@ -150,7 +150,6 @@ function draftFront({
|
||||||
.close()
|
.close()
|
||||||
.addClass('fabric sa')
|
.addClass('fabric sa')
|
||||||
}
|
}
|
||||||
|
|
||||||
if (complete)
|
if (complete)
|
||||||
paths.hint = new Path()
|
paths.hint = new Path()
|
||||||
.move(points.crossSeamCurveStart)
|
.move(points.crossSeamCurveStart)
|
||||||
|
@ -249,7 +248,7 @@ function draftFront({
|
||||||
macro('vd', {
|
macro('vd', {
|
||||||
id: 'vLegHemAllowance',
|
id: 'vLegHemAllowance',
|
||||||
from: points.outseamHem,
|
from: points.outseamHem,
|
||||||
to: points.outseamHemAllowance,
|
to: sa ? points.outseamHemAllowance : points.outseamHem,
|
||||||
x: points.waist.x + (sa + 15),
|
x: points.waist.x + (sa + 15),
|
||||||
noStartMarker: true,
|
noStartMarker: true,
|
||||||
noEndMarker: true,
|
noEndMarker: true,
|
||||||
|
@ -278,7 +277,6 @@ function draftFront({
|
||||||
to: points.inseamHem,
|
to: points.inseamHem,
|
||||||
x: points.fork.x - (sa + 30),
|
x: points.fork.x - (sa + 30),
|
||||||
})
|
})
|
||||||
|
|
||||||
points.grainlineTop = points.slashSide.translate(-waistDist * 0.05, 0)
|
points.grainlineTop = points.slashSide.translate(-waistDist * 0.05, 0)
|
||||||
points.grainlineBottom = new Point(points.grainlineTop.x, points.outseamHem.y)
|
points.grainlineBottom = new Point(points.grainlineTop.x, points.outseamHem.y)
|
||||||
macro('grainline', {
|
macro('grainline', {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue