From 1510c2c56ff48f5ae9fbb8d384ce2591dae97ad7 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Tue, 24 Jul 2018 09:17:20 +0200 Subject: [PATCH] Fix incorrect arc calculation when building the board outline (internal holes only) Fixes: lp:1783181 https://bugs.launchpad.net/kicad/+bug/1783181 --- pcbnew/convert_drawsegment_list_to_polygon.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/convert_drawsegment_list_to_polygon.cpp b/pcbnew/convert_drawsegment_list_to_polygon.cpp index 59a8288593..bde8222d91 100644 --- a/pcbnew/convert_drawsegment_list_to_polygon.cpp +++ b/pcbnew/convert_drawsegment_list_to_polygon.cpp @@ -553,6 +553,7 @@ bool ConvertOutlineToPolygon( std::vector& aSegList, SHAPE_POLY_SE prevPt = nextPt; } + break; case S_CURVE: // We do not support Bezier curves in polygons, so approximate