Bug fix: pcbnew hangs up on polygon movement
This commit is contained in:
parent
a0623d9584
commit
72e567f503
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue