mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
FIX: fix serveral issues under multiple plate slicing
1. preview result not correct when switch from invalid to valid 2. slice_all button not correct after loading gcode 3. slice_all button always set to enable with normal model(not gcode and exported files) 4. thumbnail missing issue after mmu paint Change-Id: I9873a035acc277b790d46d705c4a794c09bbd889
This commit is contained in:
parent
276989a878
commit
aac34a5411
3 changed files with 31 additions and 17 deletions
|
@ -697,7 +697,9 @@ void GLGizmoMmuSegmentation::update_model_object()
|
|||
|
||||
if (updated) {
|
||||
const ModelObjectPtrs &mos = wxGetApp().model().objects;
|
||||
wxGetApp().obj_list()->update_info_items(std::find(mos.begin(), mos.end(), mo) - mos.begin());
|
||||
size_t obj_idx = std::find(mos.begin(), mos.end(), mo) - mos.begin();
|
||||
wxGetApp().obj_list()->update_info_items(obj_idx);
|
||||
wxGetApp().plater()->get_partplate_list().notify_instance_update(obj_idx, 0);
|
||||
m_parent.post_event(SimpleEvent(EVT_GLCANVAS_SCHEDULE_BACKGROUND_PROCESS));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue