HPGL: Fix missing point in custom pad outline

This commit is contained in:
Alexis Lockwood 2020-12-15 18:33:55 -07:00 committed by jean-pierre charras
parent 7190bb8486
commit a59cab24b8
1 changed files with 1 additions and 1 deletions

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() )