When hide seam line also hide built-in notches.
This commit is contained in:
parent
68555a2d9e
commit
8a2177663c
|
@ -843,6 +843,11 @@ void VPGraphicsPiece::PaintPassmarks(QPainter *painter, const VPPiecePtr &piece)
|
||||||
QVector<VLayoutPassmark> const passmarks = piece->GetMappedPassmarks();
|
QVector<VLayoutPassmark> const passmarks = piece->GetMappedPassmarks();
|
||||||
for (const auto &passmark : passmarks)
|
for (const auto &passmark : passmarks)
|
||||||
{
|
{
|
||||||
|
if (piece->IsHideMainPath() && passmark.isBuiltIn)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
QPainterPath passmarkPath;
|
QPainterPath passmarkPath;
|
||||||
for (const auto &line : passmark.lines)
|
for (const auto &line : passmark.lines)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user