From b99bdc474238d029e8d36ff8d7ba2c83c21513f5 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sun, 22 Jan 2017 13:21:07 +0200 Subject: [PATCH] A seam allowance is alwayse closed. --HG-- branch : feature --- src/libs/vlayout/vlayoutpiece.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/vlayout/vlayoutpiece.cpp b/src/libs/vlayout/vlayoutpiece.cpp index 5f47a35a5..e41d2b2b5 100644 --- a/src/libs/vlayout/vlayoutpiece.cpp +++ b/src/libs/vlayout/vlayoutpiece.cpp @@ -128,7 +128,7 @@ QVector VLayoutPiece::GetContourPoints() const //--------------------------------------------------------------------------------------------------------------------- void VLayoutPiece::SetCountourPoints(const QVector &points) { - d->contour = RemoveDublicates(RoundPoints(points)); + d->contour = RemoveDublicates(RoundPoints(points), false); } //--------------------------------------------------------------------------------------------------------------------- @@ -147,7 +147,7 @@ void VLayoutPiece::SetSeamAllowencePoints(const QVector &points, bool s d->seamAllowence = points; if (not d->seamAllowence.isEmpty()) { - d->seamAllowence = RemoveDublicates(RoundPoints(d->seamAllowence)); + d->seamAllowence = RemoveDublicates(RoundPoints(d->seamAllowence), false); } else {