From 56853319d18d9e02d0294cc0608aa9f3d764b02d Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Wed, 14 Jan 2015 23:26:28 +0100 Subject: [PATCH] Restore correct Z alignment after cut --- lib/Slic3r/GUI/Plater/ObjectCutDialog.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Slic3r/GUI/Plater/ObjectCutDialog.pm b/lib/Slic3r/GUI/Plater/ObjectCutDialog.pm index fb3875aa3..c0f942f12 100644 --- a/lib/Slic3r/GUI/Plater/ObjectCutDialog.pm +++ b/lib/Slic3r/GUI/Plater/ObjectCutDialog.pm @@ -154,6 +154,7 @@ sub perform_cut { $self->{new_model} = $new_model; $self->{new_model_objects} = []; if ($self->{cut_options}{keep_upper} && $upper_object->volumes_count > 0) { + $upper_object->center_around_origin; # align to Z = 0 push @{$self->{new_model_objects}}, $upper_object; } if ($self->{cut_options}{keep_lower} && $lower_object->volumes_count > 0) {