mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 20:36:02 +08:00
Added a comment explaining activate_gizmo return value
This commit is contained in:
parent
5621f00ee6
commit
a3b9d1d82f
@ -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…
x
Reference in New Issue
Block a user