From 1eb2a39ecab076539d251fb768fb105175468af6 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 10 Jul 2022 18:54:17 -0600 Subject: [PATCH] Fix errant test in board items plotter. Fixes https://gitlab.com/kicad/code/kicad/issues/11944 --- pcbnew/plot_brditems_plotter.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/pcbnew/plot_brditems_plotter.cpp b/pcbnew/plot_brditems_plotter.cpp index dc88940410..7984c3daac 100644 --- a/pcbnew/plot_brditems_plotter.cpp +++ b/pcbnew/plot_brditems_plotter.cpp @@ -600,9 +600,6 @@ void BRDITEMS_PLOTTER::PlotFootprintGraphicItems( const FOOTPRINT* aFootprint ) void BRDITEMS_PLOTTER::PlotFootprintShape( const FP_SHAPE* aShape ) { - if( aShape->Type() != PCB_FP_SHAPE_T ) - return; - m_plotter->SetColor( getColor( aShape->GetLayer() ) ); bool sketch = GetPlotMode() == SKETCH;