diff --git a/common/plotters/GERBER_plotter.cpp b/common/plotters/GERBER_plotter.cpp index 64117b70b2..8d5a0c7b1b 100644 --- a/common/plotters/GERBER_plotter.cpp +++ b/common/plotters/GERBER_plotter.cpp @@ -284,6 +284,9 @@ bool GERBER_PLOTTER::EndPlot() void GERBER_PLOTTER::SetCurrentLineWidth( int aWidth, void* aData ) { + if( aWidth == DO_NOT_SET_LINE_WIDTH ) + return; + GBR_METADATA* gbr_metadata = static_cast( aData ); int aperture_attribute = gbr_metadata ? gbr_metadata->GetApertureAttrib() : 0;