mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Fixed offset of last remaining object part after deletion
This commit is contained in:
@@ -676,6 +676,7 @@ void ModelObject::delete_volume(size_t idx)
|
|||||||
inst->set_offset(inst->get_offset() + inst->get_matrix(true) * vol_offset);
|
inst->set_offset(inst->get_offset() + inst->get_matrix(true) * vol_offset);
|
||||||
}
|
}
|
||||||
v->set_offset(Vec3d::Zero());
|
v->set_offset(Vec3d::Zero());
|
||||||
|
v->set_new_unique_id();
|
||||||
}
|
}
|
||||||
|
|
||||||
this->invalidate_bounding_box();
|
this->invalidate_bounding_box();
|
||||||
|
|||||||
Reference in New Issue
Block a user