From 72e567f5039da4dc3d56624c2ef178117ea4ada6 Mon Sep 17 00:00:00 2001 From: "maciej." Date: Fri, 6 Dec 2013 15:34:39 +0100 Subject: [PATCH] Bug fix: pcbnew hangs up on polygon movement --- polygon/PolyLine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polygon/PolyLine.cpp b/polygon/PolyLine.cpp index 6947b79eaa..41a562a154 100644 --- a/polygon/PolyLine.cpp +++ b/polygon/PolyLine.cpp @@ -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; }