1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-13 08:24:27 +00:00

Fixed offset of last remaining object part after deletion

This commit is contained in:
Enrico Turri
2018-11-30 10:25:09 +01:00
parent dca0cb04ea
commit 62a3cb272e
+1
View File
@@ -676,6 +676,7 @@ void ModelObject::delete_volume(size_t idx)
inst->set_offset(inst->get_offset() + inst->get_matrix(true) * vol_offset);
}
v->set_offset(Vec3d::Zero());
v->set_new_unique_id();
}
this->invalidate_bounding_box();