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:
jean-pierre charras 2022-07-03 11:24:23 +02:00
parent e0f84ccac2
commit d41e47609c
1 changed files with 3 additions and 1 deletions

View File

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