From 706da612b620fb6363b61c82be24d6af1903f597 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Mon, 5 Nov 2018 12:52:51 +0100 Subject: [PATCH] Fixed duplicate instances after "split object to objects" --- src/slic3r/GUI/Plater.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index e81a0caa7..dadeec4ec 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -1476,13 +1476,7 @@ void Plater::priv::split_object() { unsigned int counter = 1; for (ModelObject* m : new_objects) - { m->name = current_model_object->name + "_" + std::to_string(counter++); - for (ModelInstance* i : current_model_object->instances) - { - m->add_instance(*i); - } - } remove(obj_idx);