Improve VPiece::IsSeamAllowanceValid. If called for piece without seam
allowance return true. --HG-- branch : develop
This commit is contained in:
parent
2c19640089
commit
33d83cedea
|
@ -612,9 +612,16 @@ 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;
|
||||
}
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
bool VPiece::IsInLayout() const
|
||||
|
|
Loading…
Reference in New Issue
Block a user