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

@ -1246,6 +1246,9 @@ void GLGizmoSlaSupports::reload_cache()
bool GLGizmoSlaSupports::has_backend_supports() const
{
if (! m_c->m_model_object)
return false;
// find SlaPrintObject with this ID
for (const SLAPrintObject* po : m_parent.sla_print()->objects()) {
if (po->model_object()->id() == m_c->m_model_object->id())