Bug fix: pcbnew hangs up on polygon movement

This commit is contained in:
unknown
2013-12-06 15:34:39 +01:00
committed by jean-pierre charras
parent 0443c73aab
commit 936ffcaabc
+1 -1
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 ) ) );
if( IsEndContour( ic ) )
if( IsEndContour( ic++ ) )
break;
}