Fixed transformation of the hollowed mesh to be used at frontend

Common gizmos data update is called from GLGizmoManager
This commit is contained in:
Lukas Matena 2020-01-28 12:41:48 +01:00
parent 46fdce1169
commit 3f73261fdb
5 changed files with 26 additions and 10 deletions

View file

@ -348,6 +348,9 @@ void GLGizmosManager::set_sla_support_data(ModelObject* model_object)
if (!m_enabled || m_gizmos.empty())
return;
// Update common data for hollowing and sla support gizmos.
m_common_gizmos_data->update_from_backend(m_parent);
dynamic_cast<GLGizmoSlaSupports*>(m_gizmos[SlaSupports].get())->set_sla_support_data(model_object, m_parent.get_selection());
dynamic_cast<GLGizmoHollow*>(m_gizmos[Hollow].get())->set_sla_support_data(model_object, m_parent.get_selection());
}