Fix errant test in board items plotter.
Fixes https://gitlab.com/kicad/code/kicad/issues/11944
This commit is contained in:
parent
e122dc38bd
commit
1eb2a39eca
|
@ -600,9 +600,6 @@ void BRDITEMS_PLOTTER::PlotFootprintGraphicItems( const FOOTPRINT* aFootprint )
|
||||||
|
|
||||||
void BRDITEMS_PLOTTER::PlotFootprintShape( const FP_SHAPE* aShape )
|
void BRDITEMS_PLOTTER::PlotFootprintShape( const FP_SHAPE* aShape )
|
||||||
{
|
{
|
||||||
if( aShape->Type() != PCB_FP_SHAPE_T )
|
|
||||||
return;
|
|
||||||
|
|
||||||
m_plotter->SetColor( getColor( aShape->GetLayer() ) );
|
m_plotter->SetColor( getColor( aShape->GetLayer() ) );
|
||||||
|
|
||||||
bool sketch = GetPlotMode() == SKETCH;
|
bool sketch = GetPlotMode() == SKETCH;
|
||||||
|
|
Loading…
Reference in New Issue