mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-02 11:10:37 +08:00
Bugfix: excessive copies were created when converting a multi-object AMF file into a multi-part object. #3788
This commit is contained in:
parent
0de3a72eb4
commit
84a5075fce
@ -74,7 +74,7 @@ sub convert_multipart_object {
|
||||
my $volume = $object->add_volume($v);
|
||||
$volume->set_name($v->object->name);
|
||||
}
|
||||
$object->add_instance($_) for map @{$_->instances}, @objects;
|
||||
$object->add_instance($_) for @{$objects[0]->instances};
|
||||
|
||||
$self->delete_object($_) for reverse 0..($self->objects_count-2);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user