From e0b488fd119b50610a239bb7f8b60ebe9df36a40 Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Mon, 5 Nov 2018 11:52:14 +0100 Subject: [PATCH] Fixed instances count after split to objects --- src/slic3r/GUI/Plater.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index e81a0caa7..25d5f26f5 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -1478,10 +1478,6 @@ void Plater::priv::split_object() 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);