Partially revert of https://github.com/Prusa-Development/PrusaSlicerPrivate/commit/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
@ -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…
Reference in New Issue
Block a user