Fix missed last points

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21596
This commit is contained in:
Seth Hillbrand
2025-08-30 08:33:46 -07:00
parent fe4ddc66eb
commit 1a3f6028f8
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1102,7 +1102,7 @@ void BRDITEMS_PLOTTER::PlotShape( const PCB_SHAPE* aShape )
SHAPE_POLY_SET poly;
poly.NewOutline();
for( int ii = 0; ii < outline.PointCount() - 1; ++ii )
for( int ii = 0; ii < outline.PointCount(); ++ii )
poly.Append( outline.CPoint( ii ) );
if( margin < 0 )