diff --git a/src/libs/vlayout/vabstractpiece.cpp b/src/libs/vlayout/vabstractpiece.cpp index 7be188472..92aeedd20 100644 --- a/src/libs/vlayout/vabstractpiece.cpp +++ b/src/libs/vlayout/vabstractpiece.cpp @@ -1289,8 +1289,9 @@ QVector VAbstractPiece::CheckLoops(const QVector &points) * @param width global seam allowance width. * @return seam aloowance points. */ -QVector VAbstractPiece::EkvPoint(QVector points, const VSAPoint &p1Line1, VSAPoint p2Line1, - const VSAPoint &p1Line2, VSAPoint p2Line2, qreal width, bool *needRollback) +QVector VAbstractPiece::EkvPoint(QVector points, const VSAPoint &p1Line1, const VSAPoint &p2Line1, + const VSAPoint &p1Line2, const VSAPoint &p2Line2, qreal width, + bool *needRollback) { if (width < 0) { // width can't be < 0 diff --git a/src/libs/vlayout/vabstractpiece.h b/src/libs/vlayout/vabstractpiece.h index 356cc8e02..80c898f85 100644 --- a/src/libs/vlayout/vabstractpiece.h +++ b/src/libs/vlayout/vabstractpiece.h @@ -219,8 +219,8 @@ public: static QVector Equidistant(QVector points, qreal width, const QString &name); static qreal SumTrapezoids(const QVector &points); static QVector CheckLoops(const QVector &points); - static QVector EkvPoint(QVector points, const VSAPoint &p1Line1, VSAPoint p2Line1, - const VSAPoint &p1Line2, VSAPoint p2Line2, qreal width, + static QVector EkvPoint(QVector points, const VSAPoint &p1Line1, const VSAPoint &p2Line1, + const VSAPoint &p1Line2, const VSAPoint &p2Line2, qreal width, bool *needRollback = nullptr); static QLineF ParallelLine(const VSAPoint &p1, const VSAPoint &p2, qreal width); static bool IsAllowanceValid(const QVector &base, const QVector &allowance);