From 3de80d3b20d03a2c9f833eb31a6edc50e25522f1 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Fri, 7 Apr 2023 11:34:42 +0200 Subject: [PATCH] Plot gerber: fix a too zealous plot of negative objects on the silkscreen layers, when merging layers to silkscreen layers. From master branch --- pcbnew/plot_board_layers.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pcbnew/plot_board_layers.cpp b/pcbnew/plot_board_layers.cpp index e92fd9593a..b59a64b971 100644 --- a/pcbnew/plot_board_layers.cpp +++ b/pcbnew/plot_board_layers.cpp @@ -207,6 +207,9 @@ void PlotOneBoardLayer( BOARD *aBoard, PLOTTER* aPlotter, PCB_LAYER_ID aLayer, // Plot the mask PlotStandardLayer( aBoard, aPlotter, layer_mask, plotOpt ); + + // Disable the negative polarity + aPlotter->SetLayerPolarity( true ); } break;