From 8dbd6fee0013d7f6b1c197a578cd8ea9632f8a7f Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Wed, 30 Nov 2022 13:25:28 +0000 Subject: [PATCH] Go back to smaller chaining epsilon. Using a large epsilon here to allow for sloppy drawing can cause the algorithm to miss very short segments in a converted bezier. So use an epsilon only large enough to cover for rouding errors in the conversion. Fixes https://gitlab.com/kicad/code/kicad/issues/12951 --- pcbnew/tools/convert_tool.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pcbnew/tools/convert_tool.cpp b/pcbnew/tools/convert_tool.cpp index 31e6947f7f..c6e8b954e4 100644 --- a/pcbnew/tools/convert_tool.cpp +++ b/pcbnew/tools/convert_tool.cpp @@ -420,7 +420,10 @@ SHAPE_POLY_SET CONVERT_TOOL::makePolysFromChainedSegs( const std::dequeGetBoard()->GetDesignSettings(); SHAPE_POLY_SET poly;