Commit 72e567f5 authored by maciej.'s avatar maciej. Committed by jean-pierre charras

Bug fix: pcbnew hangs up on polygon movement

parent a0623d95
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment