Improve VPiece::IsSeamAllowanceValid. If called for piece without seam
allowance return true. --HG-- branch : develop
This commit is contained in:
parent
2c19640089
commit
33d83cedea
|
@ -613,7 +613,14 @@ QPainterPath VPiece::PlaceLabelPath(const VContainer *data) const
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
bool VPiece::IsSeamAllowanceValid(const VContainer *data) const
|
||||
{
|
||||
if (IsSeamAllowance() && not IsSeamAllowanceBuiltIn())
|
||||
{
|
||||
return VAbstractPiece::IsAllowanceValid(UniteMainPathPoints(data), SeamAllowancePoints(data));
|
||||
}
|
||||
else
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user