Fix width of box notch.

This commit is contained in:
Roman Telezhynskyi 2024-03-15 16:33:39 +02:00
parent 6ebd9e7033
commit 62efe1dd8a

View File

@ -484,7 +484,7 @@ auto CreateUMarkPassmark(const VPiecePassmarkData &passmarkData, const QLineF &l
auto CreateBoxMarkPassmark(const VPiecePassmarkData &passmarkData, const QLineF &line, auto CreateBoxMarkPassmark(const VPiecePassmarkData &passmarkData, const QLineF &line,
const QVector<QPointF> &seamAllowance) -> QVector<QLineF> const QVector<QPointF> &seamAllowance) -> QVector<QLineF>
{ {
const qreal defWidth = line.length() * VPassmark::passmarkRadiusFactor; const qreal defWidth = line.length() * VPassmark::passmarkRadiusFactor * 2;
const qreal width = PassmarkWidth(passmarkData, defWidth); const qreal width = PassmarkWidth(passmarkData, defWidth);
QPointF l1p1; QPointF l1p1;