mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Fix issue that flatten gizmo faces not updated after reload from disk (#8036)
Fix issue that flatten gizmo faces not updated after reload from disk (SoftFever/OrcaSlicer#7791)
This commit is contained in:
@@ -375,6 +375,9 @@ void GLGizmosManager::update_data()
|
|||||||
: CommonGizmosDataID(0));
|
: CommonGizmosDataID(0));
|
||||||
if (m_current != Undefined) m_gizmos[m_current]->data_changed(m_serializing);
|
if (m_current != Undefined) m_gizmos[m_current]->data_changed(m_serializing);
|
||||||
|
|
||||||
|
// Orca: hack: Fix issue that flatten gizmo faces not updated after reload from disk
|
||||||
|
if (m_current != Flatten && !m_gizmos.empty()) m_gizmos[Flatten]->data_changed(m_serializing);
|
||||||
|
|
||||||
//BBS: GUI refactor: add object manipulation in gizmo
|
//BBS: GUI refactor: add object manipulation in gizmo
|
||||||
m_object_manipulation.update_ui_from_settings();
|
m_object_manipulation.update_ui_from_settings();
|
||||||
m_object_manipulation.UpdateAndShow(true);
|
m_object_manipulation.UpdateAndShow(true);
|
||||||
|
|||||||
Reference in New Issue
Block a user