Added a comment explaining activate_gizmo return value
This commit is contained in:
parent
5621f00ee6
commit
a3b9d1d82f
1 changed files with 4 additions and 0 deletions
|
@ -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());
|
||||||
|
|
Loading…
Reference in a new issue