fix: pass douglas_peucker tolerance in scaled units so the cancel-object outline is actually simplified (#15291)

Co-authored-by: bannykh <baza182@proton.me>
This commit is contained in:
pbannykhandbannykh authored and GitHub committed 2026-08-20 17:47:38 -03:00
1 parent aaa8e98bb0
commit aa233a82a5
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}