Make sure the object does not float after simplification

This commit is contained in:
Lukas Matena 2021-11-11 15:55:37 +01:00
parent 366a3bca07
commit c677b2771c

View file

@ -479,6 +479,7 @@ void GLGizmoSimplify::apply_simplify() {
mv->calculate_convex_hull();
mv->set_new_unique_id();
mv->get_object()->invalidate_bounding_box();
mv->get_object()->ensure_on_bed(true); // allow negative z
// fix hollowing, sla support points, modifiers, ...
plater->changed_mesh(object_idx);