From aa233a82a5a5defa32d790588428a2456bbcfa89 Mon Sep 17 00:00:00 2001 From: pbannykh Date: Fri, 21 Aug 2026 01:47:38 +0500 Subject: [PATCH] fix: pass douglas_peucker tolerance in scaled units so the cancel-object outline is actually simplified (#15291) Co-authored-by: bannykh --- src/libslic3r/Print.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/Print.cpp b/src/libslic3r/Print.cpp index 1af28255ee..509744abe2 100644 --- a/src/libslic3r/Print.cpp +++ b/src/libslic3r/Print.cpp @@ -5827,7 +5827,7 @@ BoundingBoxf3 PrintInstance::get_bounding_box() const { Polygon PrintInstance::get_convex_hull_2d() { Polygon poly = print_object->model_object()->convex_hull_2d(model_instance->get_matrix()); - poly.douglas_peucker(0.1); + poly.douglas_peucker(scale_(0.1)); return poly; }