Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_opengl_3

This commit is contained in:
enricoturri1966 2022-03-03 13:31:01 +01:00
commit bceeb67c53

View File

@ -907,6 +907,10 @@ void GLGizmosManager::update_hover_state(const EType &type)
m_tooltip = hovered_gizmo.get_name(); m_tooltip = hovered_gizmo.get_name();
} }
// Activate given gizmo. Returns true if successful, false in case that current
// gizmo vetoed its deactivation.
bool GLGizmosManager::activate_gizmo(EType type) bool GLGizmosManager::activate_gizmo(EType type)
{ {
assert(!m_gizmos.empty()); assert(!m_gizmos.empty());