Local seam allowance can be 0. ref #965.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-04-17 16:08:48 +03:00
parent 7f01a989dd
commit 4fa73c302c

View File

@ -129,6 +129,7 @@ qreal VPieceNode::GetSABefore(const VContainer *data) const
}
VFormula formula(d->m_formulaWidthBefore, data);
formula.setCheckZero(false);
formula.Eval();
if (formula.error())
@ -158,6 +159,7 @@ qreal VPieceNode::GetSABefore(const VContainer *data, Unit unit) const
}
VFormula formula(d->m_formulaWidthBefore, data);
formula.setCheckZero(false);
formula.Eval();
if (formula.error())
@ -208,6 +210,7 @@ qreal VPieceNode::GetSAAfter(const VContainer *data) const
}
VFormula formula(d->m_formulaWidthAfter, data);
formula.setCheckZero(false);
formula.Eval();
if (formula.error())
@ -238,6 +241,7 @@ qreal VPieceNode::GetSAAfter(const VContainer *data, Unit unit) const
}
VFormula formula(d->m_formulaWidthAfter, data);
formula.setCheckZero(false);
formula.Eval();
if (formula.error())