diff --git a/src/libs/vpatterndb/vpiece.cpp b/src/libs/vpatterndb/vpiece.cpp index 3f24343a5..27b893372 100644 --- a/src/libs/vpatterndb/vpiece.cpp +++ b/src/libs/vpatterndb/vpiece.cpp @@ -223,7 +223,6 @@ QVector VPiece::PassmarksLines(const VContainer *data) const { QVector passmarks = Passmarks(data); QVector lines; - return lines; for(auto &passmark : passmarks) { if (not passmark.IsNull()) @@ -386,7 +385,6 @@ QPainterPath VPiece::PlaceLabelPath(const VContainer *data) const //--------------------------------------------------------------------------------------------------------------------- bool VPiece::IsSeamAllowanceValid(const VContainer *data) const { - return true; if (IsSeamAllowance() && not IsSeamAllowanceBuiltIn()) { return VAbstractPiece::IsAllowanceValid(UniteMainPathPoints(data), SeamAllowancePoints(data));