SPE-1684: Fix issue where the automatic painting did not trigger paint-on-supports notification in the right panel
This commit is contained in:
parent
a236351fd3
commit
2873042148
1 changed files with 3 additions and 6 deletions
|
@ -434,18 +434,15 @@ void GLGizmoFdmSupports::apply_data_from_backend()
|
||||||
mesh_id++;
|
mesh_id++;
|
||||||
auto selector = selectors.find(mv->id().id);
|
auto selector = selectors.find(mv->id().id);
|
||||||
if (selector != selectors.end()) {
|
if (selector != selectors.end()) {
|
||||||
mv->supported_facets.set(selector->second.selector);
|
m_triangle_selectors[mesh_id]->deserialize(selector->second.selector.serialize(), true);
|
||||||
m_triangle_selectors[mesh_id]->deserialize(mv->supported_facets.get_data(), true);
|
|
||||||
m_triangle_selectors[mesh_id]->request_update_render_data();
|
m_triangle_selectors[mesh_id]->request_update_render_data();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
m_parent.post_event(SimpleEvent(EVT_GLCANVAS_SCHEDULE_BACKGROUND_PROCESS));
|
|
||||||
m_parent.set_as_dirty();
|
|
||||||
}
|
}
|
||||||
this->waiting_for_autogenerated_supports = false;
|
this->waiting_for_autogenerated_supports = false;
|
||||||
}
|
update_model_object();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLGizmoFdmSupports::update_model_object() const
|
void GLGizmoFdmSupports::update_model_object() const
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue