mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 05:45:57 +08:00
Fixed crash under oSX after selection with SHIFT from 3DScene
This commit is contained in:
parent
618d124bfb
commit
af05e5fc2c
@ -88,6 +88,10 @@ ObjectList::ObjectList(wxWindow* parent) :
|
|||||||
// before the kill focus event handler on the object manipulator when changing selection in the list, invalidating the object
|
// before the kill focus event handler on the object manipulator when changing selection in the list, invalidating the object
|
||||||
// manipulator cache with the following call to selection_changed()
|
// manipulator cache with the following call to selection_changed()
|
||||||
wxGetApp().obj_manipul()->emulate_kill_focus();
|
wxGetApp().obj_manipul()->emulate_kill_focus();
|
||||||
|
|
||||||
|
// To avoid selection update from SetSelection() and UnselectAll() under osx
|
||||||
|
if (m_prevent_list_events)
|
||||||
|
return;
|
||||||
#endif // __APPLE__
|
#endif // __APPLE__
|
||||||
|
|
||||||
/* For multiple selection with pressed SHIFT,
|
/* For multiple selection with pressed SHIFT,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user