[TD]fix circle centerlines line style

This commit is contained in:
wandererfan
2026-01-23 19:34:32 -05:00
parent c9041132f9
commit 29066c1a53

View File

@@ -225,6 +225,10 @@ void execCircleCenterLines(Gui::Command* cmd)
_setLineAttributes(horiz);
TechDraw::CosmeticEdge* vert = objFeat->getCosmeticEdge(line2tag);
_setLineAttributes(vert);
// horiz & vert are centerlines, so they should use the default centerline
// number and not the number from line attributes
horiz->m_format.setLineNumber(Preferences::CenterLineStyle());
vert->m_format.setLineNumber(Preferences::CenterLineStyle());
}
}
}