From 62a3cb272e3686ef895a1ea66fb9164311220e2c Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Fri, 30 Nov 2018 10:25:09 +0100 Subject: [PATCH] Fixed offset of last remaining object part after deletion --- src/libslic3r/Model.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libslic3r/Model.cpp b/src/libslic3r/Model.cpp index 8d7dd5934..59477db4a 100644 --- a/src/libslic3r/Model.cpp +++ b/src/libslic3r/Model.cpp @@ -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();