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
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue