Avoid duplicating similar options in print and plot headers

This commit is contained in:
jean-pierre charras
2022-11-12 16:02:24 +01:00
parent 0d78ca8b1a
commit 31bad5baaa
11 changed files with 69 additions and 45 deletions
+1 -1
View File
@@ -1126,7 +1126,7 @@ void BRDITEMS_PLOTTER::PlotDrillMarks()
{
/* If small drills marks were requested prepare a clamp value to pass
to the helper function */
int smallDrill = GetDrillMarksType() == PCB_PLOT_PARAMS::SMALL_DRILL_SHAPE
int smallDrill = GetDrillMarksType() == DRILL_MARKS::SMALL_DRILL_SHAPE
? pcbIUScale.mmToIU( ADVANCED_CFG::GetCfg().m_SmallDrillMarkSize ) : 0;
/* In the filled trace mode drill marks are drawn white-on-black to scrape