Send EVT_SLICING_UPDATE with RELOAD_SLA_SUPPORT_POINTS

once object's support points are calculated by the backend.
This commit is contained in:
bubnikv 2019-02-06 14:18:04 +01:00
parent d31cb98fe9
commit fb6f3d8431
3 changed files with 9 additions and 2 deletions

View file

@ -552,6 +552,9 @@ void SLAPrint::process()
BOOST_LOG_TRIVIAL(debug) << "Automatic support points: "
<< po.m_supportdata->support_points.rows();
// Using RELOAD_SLA_SUPPORT_POINTS to tell the Plater to pass the update status to GLGizmoSlaSupports
report_status(*this, -1, L("Generating support points"), SlicingStatus::RELOAD_SLA_SUPPORT_POINTS);
}
else {
// There are some points on the front-end, no calculation will be done.