Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Matena <lukasmatena@seznam.cz>2018-08-22 15:02:32 +0300
committerLukas Matena <lukasmatena@seznam.cz>2018-08-22 15:02:32 +0300
commit0b210426065f02b46be2d0a2c62ee25435b272f3 (patch)
tree201ddf580a42f2b89968e9010c56f33671f7dadc /lib/Slic3r/GUI
parent9e6234fe3964696740caf3c9743076a5f43bf681 (diff)
Lay flat minor bugfix (ObjectCutDialog called a changed function using the old signature)
Diffstat (limited to 'lib/Slic3r/GUI')
-rw-r--r--lib/Slic3r/GUI/Plater/ObjectCutDialog.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Slic3r/GUI/Plater/ObjectCutDialog.pm b/lib/Slic3r/GUI/Plater/ObjectCutDialog.pm
index 35aa28818..26a6fdec3 100644
--- a/lib/Slic3r/GUI/Plater/ObjectCutDialog.pm
+++ b/lib/Slic3r/GUI/Plater/ObjectCutDialog.pm
@@ -137,7 +137,7 @@ sub new {
# Adjust position / orientation of the split object halves.
if ($self->{new_model_objects}{lower}) {
if ($self->{cut_options}{rotate_lower}) {
- $self->{new_model_objects}{lower}->rotate(PI, X);
+ $self->{new_model_objects}{lower}->rotate(PI, Slic3r::Pointf3->new(1,0,0));
$self->{new_model_objects}{lower}->center_around_origin; # align to Z = 0
}
}