Partially revert of 8e3a988b
This change was redundant, because switch to Manipulation panel is suppressed by disabling of Editors. Moreover it did impossible to close all gizmos when it's really needed and caused a crash on "Select All" action, when some gizmo is open (SPE-1771)
This commit is contained in:
parent
053f7e6344
commit
7483c7bd00
1 changed files with 1 additions and 2 deletions
|
@ -173,8 +173,7 @@ void GLGizmosManager::reset_all_states()
|
||||||
const EType current = get_current_type();
|
const EType current = get_current_type();
|
||||||
if (current != Undefined)
|
if (current != Undefined)
|
||||||
// close any open gizmo
|
// close any open gizmo
|
||||||
if (!open_gizmo(current))
|
open_gizmo(current);
|
||||||
return;
|
|
||||||
|
|
||||||
activate_gizmo(Undefined);
|
activate_gizmo(Undefined);
|
||||||
m_hover = Undefined;
|
m_hover = Undefined;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue