Pcbnew: fix plot issue for non filled polygons in footprints.
Fixes #11959 https://gitlab.com/kicad/code/kicad/issues/11959
This commit is contained in:
parent
e0f84ccac2
commit
d41e47609c
|
@ -741,7 +741,9 @@ void BRDITEMS_PLOTTER::PlotFootprintShape( const FP_SHAPE* aShape )
|
|||
for( int jj = 0; jj < tmpPoly.OutlineCount(); ++jj )
|
||||
{
|
||||
SHAPE_LINE_CHAIN &poly = tmpPoly.Outline( jj );
|
||||
m_plotter->PlotPoly( poly, FILL_T::FILLED_SHAPE, thickness, &gbr_metadata );
|
||||
m_plotter->PlotPoly( poly, aShape->IsFilled() ?
|
||||
FILL_T::FILLED_SHAPE : FILL_T::NO_FILL,
|
||||
thickness, &gbr_metadata );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue