FIX:selection should be not empty when update_ui_from_settings

jira: none
Change-Id: I74b76733eba03d148dfd70279ec2ba65f19cc39a
This commit is contained in:
zhou.xu 2024-07-18 15:40:56 +08:00 committed by Lane.Wei
parent 630d36324f
commit f402685aee

View File

@ -498,8 +498,10 @@ void GLGizmosManager::update_data()
} }
//BBS: GUI refactor: add object manipulation in gizmo //BBS: GUI refactor: add object manipulation in gizmo
m_object_manipulation.update_ui_from_settings(); if (!selection.is_empty()) {
m_object_manipulation.UpdateAndShow(true); m_object_manipulation.update_ui_from_settings();
m_object_manipulation.UpdateAndShow(true);
}
} }
bool GLGizmosManager::is_running() const bool GLGizmosManager::is_running() const