Fix width of box notch.
This commit is contained in:
parent
6ebd9e7033
commit
62efe1dd8a
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user