Instead of "-1" use local variable "CurrentSeamAllowance" if value is default.
--HG-- branch : feature
This commit is contained in:
parent
49167c0c3c
commit
e206ef3d5d
|
@ -45,8 +45,8 @@ public:
|
|||
m_reverse(false),
|
||||
m_saBefore(-1),
|
||||
m_saAfter(-1),
|
||||
m_formulaWidthBefore(""),
|
||||
m_formulaWidthAfter(""),
|
||||
m_formulaWidthBefore(currentSeamAllowance),
|
||||
m_formulaWidthAfter(currentSeamAllowance),
|
||||
m_angleType(PieceNodeAngle::ByLength)
|
||||
{}
|
||||
|
||||
|
@ -56,8 +56,8 @@ public:
|
|||
m_reverse(reverse),
|
||||
m_saBefore(-1),
|
||||
m_saAfter(-1),
|
||||
m_formulaWidthBefore("-1"),
|
||||
m_formulaWidthAfter("-1"),
|
||||
m_formulaWidthBefore(currentSeamAllowance),
|
||||
m_formulaWidthAfter(currentSeamAllowance),
|
||||
m_angleType(PieceNodeAngle::ByLength)
|
||||
{
|
||||
if (m_typeTool == Tool::NodePoint)
|
||||
|
|
Loading…
Reference in New Issue
Block a user