SLA points on all objects are assigned Generating status before the background processing starts
This commit is contained in:
parent
599f2e07db
commit
aeb29b1184
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user