Fixed instances count after split to objects
This commit is contained in:
parent
4b5657b16b
commit
e0b488fd11
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue