diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index 364f9c1916..5df6e6766a 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -1083,8 +1083,8 @@ sub center_selected_object_on_bed { my $bb = $model_object->bounding_box; my $size = $bb->size; my $vector = Slic3r::Pointf->new( - -$bb->x_min - $size->x/2, - -$bb->y_min - $size->y/2, #// + $self->bed_centerf->x - $bb->x_min - $size->x/2, + $self->bed_centerf->y - $bb->y_min - $size->y/2, #// ); $_->offset->translate(@$vector) for @{$model_object->instances}; $self->refresh_canvases;