Added a comment explaining activate_gizmo return value

This commit is contained in:
Lukas Matena 2022-03-03 11:47:16 +01:00
parent 5621f00ee6
commit a3b9d1d82f

View File

@ -907,6 +907,10 @@ void GLGizmosManager::update_hover_state(const EType &type)
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)
{
assert(!m_gizmos.empty());