mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-16 03:16:00 +08:00
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
@ -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…
x
Reference in New Issue
Block a user