FIX: thumbnails not showing after simplifying model

Change-Id: Ie599b3067cf3f3dbf48a38f5f434678a7d56dbda
This commit is contained in:
zhimin.zeng 2022-09-22 10:34:12 +08:00 committed by Lane.Wei
parent 6a8d42359a
commit 37d6efdbef

View file

@ -569,7 +569,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
mv->get_object()->ensure_on_bed();
// fix hollowing, sla support points, modifiers, ...
plater->changed_mesh(object_idx);