HPGL: Fix missing point in custom pad outline

This commit is contained in:
Alexis Lockwood
2020-12-18 07:21:59 +00:00
committed by jean-pierre charras
parent 7190bb8486
commit a59cab24b8
+1 -1
View File
@@ -670,7 +670,7 @@ void HPGL_PLOTTER::FlashPadCustom( const wxPoint& aPadPos, const wxSize& aSize,
cornerList.clear();
cornerList.reserve( poly.PointCount() );
for( int ii = 1; ii < poly.PointCount(); ++ii )
for( int ii = 0; ii < poly.PointCount(); ++ii )
cornerList.emplace_back( poly.CPoint( ii ).x, poly.CPoint( ii ).y );
if( cornerList.back() != cornerList.front() )