SLA points on all objects are assigned Generating status before the background processing starts
This commit is contained in:
parent
599f2e07db
commit
aeb29b1184
1 changed files with 6 additions and 0 deletions
|
@ -4392,6 +4392,12 @@ void Plater::reslice()
|
||||||
{
|
{
|
||||||
// Stop arrange and (or) optimize rotation tasks.
|
// Stop arrange and (or) optimize rotation tasks.
|
||||||
this->stop_jobs();
|
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.
|
//FIXME Don't reslice if export of G-code or sending to OctoPrint is running.
|
||||||
// bitmask of UpdateBackgroundProcessReturnState
|
// bitmask of UpdateBackgroundProcessReturnState
|
||||||
|
|
Loading…
Reference in a new issue