mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Tech ENABLE_NON_STATIC_CANVAS_MANAGER set as default
This commit is contained in:
@@ -440,11 +440,9 @@ void Selection::clear()
|
||||
update_type();
|
||||
this->set_bounding_boxes_dirty();
|
||||
|
||||
#if ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
// this happens while the application is closing
|
||||
if (wxGetApp().obj_manipul() == nullptr)
|
||||
return;
|
||||
#endif // ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
|
||||
// resets the cache in the sidebar
|
||||
wxGetApp().obj_manipul()->reset_cache();
|
||||
|
||||
Reference in New Issue
Block a user