Fix issue with DXF plot not plotting small drill marks

Code was missing to convert mm to internal units for small drill mark size  in PlotLayerOutlines (which is only used in DXF Plot).  All other plot formats like PDF use PlotStandardLayer which does not have that problem.
This commit is contained in:
hogthrob 2022-01-14 21:30:38 +00:00 committed by Jeff Young
parent da65fe0469
commit b605d6d9ae
1 changed files with 1 additions and 1 deletions

View File

@ -739,7 +739,7 @@ void PlotLayerOutlines( BOARD* aBoard, PLOTTER* aPlotter, LSET aLayerMask,
if( aPlotOpt.GetDrillMarksType() != PCB_PLOT_PARAMS::NO_DRILL_SHAPE )
{
int smallDrill = (aPlotOpt.GetDrillMarksType() == PCB_PLOT_PARAMS::SMALL_DRILL_SHAPE)
? ADVANCED_CFG::GetCfg().m_SmallDrillMarkSize : INT_MAX;
? Millimeter2iu( ADVANCED_CFG::GetCfg().m_SmallDrillMarkSize ) : INT_MAX;
for( FOOTPRINT* footprint : aBoard->Footprints() )
{