diff --git a/pcbnew/plot_brditems_plotter.cpp b/pcbnew/plot_brditems_plotter.cpp index 1057817c4e..d6efe1e50d 100644 --- a/pcbnew/plot_brditems_plotter.cpp +++ b/pcbnew/plot_brditems_plotter.cpp @@ -333,7 +333,7 @@ void BRDITEMS_PLOTTER::PlotFootprintTextItems( const FOOTPRINT* aFootprint ) if( text->GetText() == wxT( "${VALUE}" ) && !GetPlotValue() ) continue; - PlotText( text, textLayer, textItem->IsKnockout() ); + PlotText( text, textLayer, text->IsKnockout() ); } }