mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-17 11:47:54 -06:00
Fixed a crash when arrange plate (#5109)
This commit is contained in:
parent
d3c9e4d099
commit
e8018008b3
1 changed files with 0 additions and 6 deletions
|
@ -5698,9 +5698,6 @@ void ObjectList::on_plate_deleted(int plate_idx)
|
|||
void ObjectList::reload_all_plates(bool notify_partplate)
|
||||
{
|
||||
m_prevent_canvas_selection_update = true;
|
||||
#ifdef __WXOSX__
|
||||
AssociateModel(nullptr);
|
||||
#endif
|
||||
|
||||
// Unselect all objects before deleting them, so that no change of selection is emitted during deletion.
|
||||
|
||||
|
@ -5730,9 +5727,6 @@ void ObjectList::reload_all_plates(bool notify_partplate)
|
|||
|
||||
update_selections();
|
||||
|
||||
#ifdef __WXOSX__
|
||||
AssociateModel(m_objects_model);
|
||||
#endif
|
||||
m_prevent_canvas_selection_update = false;
|
||||
|
||||
// update scene
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue