When hide seam line also hide built-in notches.

This commit is contained in:
Roman Telezhynskyi 2024-04-05 15:36:40 +03:00
parent 68555a2d9e
commit 8a2177663c

View File

@ -843,6 +843,11 @@ void VPGraphicsPiece::PaintPassmarks(QPainter *painter, const VPPiecePtr &piece)
QVector<VLayoutPassmark> const passmarks = piece->GetMappedPassmarks();
for (const auto &passmark : passmarks)
{
if (piece->IsHideMainPath() && passmark.isBuiltIn)
{
continue;
}
QPainterPath passmarkPath;
for (const auto &line : passmark.lines)
{