plot board: fix a stupid bug created by commit dfa91752

This commit is contained in:
jean-pierre charras 2018-05-29 18:51:44 +02:00
parent c5f56ef573
commit ce9cc4ea38
1 changed files with 2 additions and 0 deletions

View File

@ -431,9 +431,11 @@ void PlotStandardLayer( BOARD *aBoard, PLOTTER* aPlotter,
case PAD_SHAPE_CIRCLE:
case PAD_SHAPE_OVAL:
pad->SetSize( padPlotsSize );
if( aPlotOpt.GetSkipPlotNPTH_Pads() &&
( pad->GetSize() == pad->GetDrillSize() ) &&
( pad->GetAttribute() == PAD_ATTRIB_HOLE_NOT_PLATED ) )
break;
itemplotter.PlotPad( pad, color, plotMode );
break;