From e19c9392a15d3b2bd7ffd20daf2c8fb0ae6bdbb8 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 29 Mar 2017 14:20:55 +0300 Subject: [PATCH] Custom seam allowance now visible again. --HG-- branch : feature --- src/libs/vpatterndb/vpiece.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vpatterndb/vpiece.cpp b/src/libs/vpatterndb/vpiece.cpp index 6355f8a7b..0a04cf466 100644 --- a/src/libs/vpatterndb/vpiece.cpp +++ b/src/libs/vpatterndb/vpiece.cpp @@ -679,7 +679,7 @@ QVector VPiece::GetValidRecords() const && not d->m_path.at(indexStartPoint).IsExcluded() && indexEndPoint != -1 && not d->m_path.at(indexEndPoint).IsExcluded() - && record.startPoint < record.endPoint) + && indexStartPoint < indexEndPoint) { records.append(record); }