FIX: fix the model outside issue after repair

a negative-z found and needs to notify plate after ensure_on_bed

Change-Id: Ifc0eb277a16437333036aeef19020471e3ea91db
This commit is contained in:
lane.wei 2023-01-30 19:53:13 +08:00 committed by Lane.Wei
parent 92f594ea4a
commit a759df62c4

View file

@ -4711,6 +4711,7 @@ void ObjectList::fix_through_netfabb()
plater->changed_mesh(obj_idx); plater->changed_mesh(obj_idx);
object(obj_idx)->ensure_on_bed();
plater->get_partplate_list().notify_instance_update(obj_idx, 0); plater->get_partplate_list().notify_instance_update(obj_idx, 0);
plater->sidebar().obj_list()->update_plate_values_for_items(); plater->sidebar().obj_list()->update_plate_values_for_items();
@ -4722,8 +4723,6 @@ void ObjectList::fix_through_netfabb()
update_item_error_icon(obj_idx, vol_idx); update_item_error_icon(obj_idx, vol_idx);
update_info_items(obj_idx); update_info_items(obj_idx);
object(obj_idx)->ensure_on_bed();
return true; return true;
}; };