HPGL: Fix missing point in custom pad outline
This commit is contained in:
parent
7190bb8486
commit
a59cab24b8
|
@ -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() )
|
||||
|
|
Loading…
Reference in New Issue