From 3d05a5e9d1c1030cee11e0fc496e2ca711153f8b Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Fri, 1 May 2026 20:56:08 +0200 Subject: [PATCH] arrange polies: lower iou to 45% --- src/svgfill/src/arrange_polygons.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/svgfill/src/arrange_polygons.cpp b/src/svgfill/src/arrange_polygons.cpp index 3dc10527d3..d8f6e8a79a 100644 --- a/src/svgfill/src/arrange_polygons.cpp +++ b/src/svgfill/src/arrange_polygons.cpp @@ -3399,7 +3399,7 @@ void arrange_cgal_polygons(svgfill::arrange_polygon_settings settings, const std auto it = std::min_element(ious.begin(), ious.end()); - if (it != ious.end() && (*it < 0.5)) { + if (it != ious.end() && (*it < 0.45)) { std::cerr << "Significant difference between cleaned and original arrangement, using original for topology reconstruction: " << *it << std::endl; fallback_to_line_cleaning_algo_1 = true; apply_line_cleaning_algo_1();