FIX: fix the thumbnaile not saved issue

STUDIO-2148: we need to update the GLVolume's position after ensure_on_bed
Change-Id: I69fbaca653de50bf5e684e0b4073faa4dfcbed8f
This commit is contained in:
lane.wei 2023-02-11 10:43:09 +08:00 committed by Lane.Wei
parent a934fac180
commit b844ee9dd1
1 changed files with 1 additions and 2 deletions

View File

@ -4708,10 +4708,9 @@ void ObjectList::fix_through_netfabb()
if (!fix_model_by_win10_sdk_gui(*(object(obj_idx)), vol_idx, progress_dlg, msg, res))
return false;
//wxGetApp().plater()->changed_mesh(obj_idx);
object(obj_idx)->ensure_on_bed();
plater->changed_mesh(obj_idx);
object(obj_idx)->ensure_on_bed();
plater->get_partplate_list().notify_instance_update(obj_idx, 0);
plater->sidebar().obj_list()->update_plate_values_for_items();