OSX specific: EmbossGizmo: Fixed for SPE-1616 - Crash on MacOS when text in emboss gizmo is moved
This commit is contained in:
parent
95d3a2b2ec
commit
e65ebccb7f
@ -369,6 +369,10 @@ bool GLGizmoEmboss::on_mouse_for_translate(const wxMouseEvent &mouse_event)
|
||||
bool res = on_mouse_surface_drag(mouse_event, camera, m_surface_drag, m_parent, m_raycast_manager, up_limit);
|
||||
bool is_dragging = m_surface_drag.has_value();
|
||||
|
||||
// Check if selection is still active
|
||||
if (m_volume == nullptr)
|
||||
return false;
|
||||
|
||||
// End with surface dragging?
|
||||
if (was_dragging && !is_dragging) {
|
||||
// Update surface by new position
|
||||
|
Loading…
Reference in New Issue
Block a user