Fix update order
This commit is contained in:
parent
d08e6d8c1b
commit
9a9c8213cb
2 changed files with 4 additions and 1 deletions
|
@ -217,11 +217,11 @@ void GLGizmosManager::set_hover_id(int id)
|
|||
void GLGizmosManager::update_data()
|
||||
{
|
||||
if (!m_enabled) return;
|
||||
if (m_current != Undefined) m_gizmos[m_current]->data_changed();
|
||||
if (m_common_gizmos_data)
|
||||
m_common_gizmos_data->update(get_current()
|
||||
? get_current()->get_requirements()
|
||||
: CommonGizmosDataID(0));
|
||||
if (m_current != Undefined) m_gizmos[m_current]->data_changed();
|
||||
}
|
||||
|
||||
bool GLGizmosManager::is_running() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue