From 1199adf6e433082c01b59f6042b4c4210a8b45c6 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 13 Feb 2018 18:22:38 +0200 Subject: [PATCH] Fixing bug. When export a piece invisible internal path should not be included. --HG-- branch : develop --- src/libs/vlayout/vlayoutpiece.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vlayout/vlayoutpiece.cpp b/src/libs/vlayout/vlayoutpiece.cpp index 4489d7568..006ea75c2 100644 --- a/src/libs/vlayout/vlayoutpiece.cpp +++ b/src/libs/vlayout/vlayoutpiece.cpp @@ -69,7 +69,7 @@ QVector 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())); }