mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 12:05:53 +08:00
Follow-up of 1218103fd620b319c56fd08116f81b581c537188 - Fixed gizmo missbehavior when closing a gizmo by resetting the selection clicking on the scene
This commit is contained in:
parent
dac7b7e46a
commit
a078627552
@ -170,12 +170,12 @@ void GLGizmosManager::reset_all_states()
|
|||||||
if (! m_enabled || m_serializing)
|
if (! m_enabled || m_serializing)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
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
|
||||||
open_gizmo(current);
|
open_gizmo(current);
|
||||||
else
|
|
||||||
activate_gizmo(Undefined);
|
activate_gizmo(Undefined);
|
||||||
m_hover = Undefined;
|
m_hover = Undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user