Fixing bug. When export a piece invisible internal path should not be included.
--HG-- branch : develop
This commit is contained in:
parent
1b60d5d5cf
commit
1199adf6e4
|
@ -69,7 +69,7 @@ QVector<VLayoutPiecePath> ConvertInternalPaths(const VPiece &piece, const VConta
|
|||
for (int i = 0; i < pathsId.size(); ++i)
|
||||
{
|
||||
const VPiecePath path = pattern->GetPiecePath(pathsId.at(i));
|
||||
if (path.GetType() == PiecePathType::InternalPath)
|
||||
if (path.GetType() == PiecePathType::InternalPath && path.IsVisible(pattern->DataVariables()))
|
||||
{
|
||||
paths.append(VLayoutPiecePath(path.PathPoints(pattern), path.IsCutPath(), path.GetPenType()));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user