mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 14:13:57 -06:00
Fixed update of backend after the changes introduced with b3010a817b
(Do not allow objects to be placed fully below bed) and pop object on the bed when only one part is left
This commit is contained in:
parent
3fc4cc84a7
commit
38cd7fea65
4 changed files with 58 additions and 11 deletions
|
@ -6200,8 +6200,7 @@ void Plater::changed_object(int obj_idx)
|
|||
if (obj_idx < 0)
|
||||
return;
|
||||
// recenter and re - align to Z = 0
|
||||
auto model_object = p->model.objects[obj_idx];
|
||||
model_object->ensure_on_bed(this->p->printer_technology != ptSLA);
|
||||
p->model.objects[obj_idx]->ensure_on_bed(p->printer_technology != ptSLA);
|
||||
if (this->p->printer_technology == ptSLA) {
|
||||
// Update the SLAPrint from the current Model, so that the reload_scene()
|
||||
// pulls the correct data, update the 3D scene.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue