Bug fix: pcbnew hangs up on polygon movement

This commit is contained in:
maciej. 2013-12-06 15:34:39 +01:00 committed by jean-pierre charras
parent a0623d9584
commit 72e567f503
1 changed files with 1 additions and 1 deletions

View File

@ -1187,7 +1187,7 @@ void CPOLYGONS_LIST::ExportTo( KI_POLYGON_WITH_HOLES& aPolygoneWithHole )
{ {
cornerslist.push_back( KI_POLY_POINT( GetX( ic ), GetY( ic ) ) ); cornerslist.push_back( KI_POLY_POINT( GetX( ic ), GetY( ic ) ) );
if( IsEndContour( ic ) ) if( IsEndContour( ic++ ) )
break; break;
} }