Fix errant test in board items plotter.

Fixes https://gitlab.com/kicad/code/kicad/issues/11944
This commit is contained in:
Jeff Young 2022-07-10 18:54:17 -06:00
parent e122dc38bd
commit 1eb2a39eca
1 changed files with 0 additions and 3 deletions

View File

@ -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;