SLA points on all objects are assigned Generating status before the background processing starts

This commit is contained in:
Lukas Matena 2019-07-31 13:00:35 +02:00
parent 599f2e07db
commit aeb29b1184

View File

@ -4393,6 +4393,12 @@ void Plater::reslice()
// Stop arrange and (or) optimize rotation tasks.
this->stop_jobs();
if (printer_technology() == ptSLA) {
for (auto& object : model().objects)
if (object->sla_points_status == sla::PointsStatus::NoPoints)
object->sla_points_status = sla::PointsStatus::Generating;
}
//FIXME Don't reslice if export of G-code or sending to OctoPrint is running.
// bitmask of UpdateBackgroundProcessReturnState
unsigned int state = this->p->update_background_process(true);