From 7b29ecb15cf450347cedece3d3445449b2f57c1f Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Fri, 13 Apr 2018 12:15:43 +0200 Subject: [PATCH] Fixed cutting plane z in 3D view when object is scaled --- lib/Slic3r/GUI/Plater/ObjectCutDialog.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/GUI/Plater/ObjectCutDialog.pm b/lib/Slic3r/GUI/Plater/ObjectCutDialog.pm index 0b5312b30..7f930c1d0 100644 --- a/lib/Slic3r/GUI/Plater/ObjectCutDialog.pm +++ b/lib/Slic3r/GUI/Plater/ObjectCutDialog.pm @@ -244,7 +244,7 @@ sub _update { $self->{canvas}->reset_objects; $self->{canvas}->load_object($_, undef, undef, [0]) for @objects; $self->{canvas}->SetCuttingPlane( - $self->{cut_options}{z}, + $self->{cut_options}{z} / $self->{model_object}->instances->[0]->scaling_factor, [@expolygons], ); $self->{canvas}->update_volumes_colors_by_extruder($self->GetParent->{config});