From c33ed9144c1795d6e8670ed7863dc30d0b98c002 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Mon, 19 Jun 2017 11:47:43 +0200 Subject: [PATCH] Fixed the objects jumping --- lib/Slic3r/GUI/Plater.pm | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index 6ba5b6b65..3a024f938 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -1158,18 +1158,7 @@ sub split_object { $self->resume_background_process; return; } - - foreach my $object (@model_objects) { - $object->instances->[$_]->offset->translate($_ * 10, $_ * 10) - for 1..$#{ $object->instances }; - - # we need to center this single object around origin - $object->center_around_origin; - } - # remove the original object before spawning the object_loaded event, otherwise - # we'll pass the wrong $obj_idx to it (which won't be recognized after the - # thumbnail thread returns) $self->remove($obj_idx); $current_object = $obj_idx = undef;