From ce9cc4ea38b896af4b452052ac70272adc023b3e Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Tue, 29 May 2018 18:51:44 +0200 Subject: [PATCH] plot board: fix a stupid bug created by commit dfa91752 --- pcbnew/plot_board_layers.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/plot_board_layers.cpp b/pcbnew/plot_board_layers.cpp index 17f6d1db38..7cb224820b 100644 --- a/pcbnew/plot_board_layers.cpp +++ b/pcbnew/plot_board_layers.cpp @@ -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;