Follow-up of 1218103fd6
- Fixed gizmo missbehavior when closing a gizmo by resetting the selection clicking on the scene
This commit is contained in:
parent
dac7b7e46a
commit
a078627552
1 changed files with 3 additions and 3 deletions
|
@ -170,12 +170,12 @@ void GLGizmosManager::reset_all_states()
|
|||
if (! m_enabled || m_serializing)
|
||||
return;
|
||||
|
||||
EType current = get_current_type();
|
||||
const EType current = get_current_type();
|
||||
if (current != Undefined)
|
||||
// close any open gizmo
|
||||
open_gizmo(current);
|
||||
else
|
||||
activate_gizmo(Undefined);
|
||||
|
||||
activate_gizmo(Undefined);
|
||||
m_hover = Undefined;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue