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-20 12:27:25 +0300
committerLukas Matena <lukasmatena@seznam.cz>2018-08-20 12:27:25 +0300
commitb0dd328fdec094cd072ece2cbfff87dcf07d51c2 (patch)
tree55d9c28d6fd18fff46d1338bca5148d61a4936e5 /lib/Slic3r/GUI
parentdb9580f40bfebc8794dcdc0edf0b1c55e6b4e004 (diff)
Lay flat - icons and invalidation improvement
Diffstat (limited to 'lib/Slic3r/GUI')
-rw-r--r--lib/Slic3r/GUI/Plater.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm
index 8ab749e24..98f31fb8b 100644
--- a/lib/Slic3r/GUI/Plater.pm
+++ b/lib/Slic3r/GUI/Plater.pm
@@ -143,7 +143,7 @@ sub new {
my $on_gizmo_rotate = sub {
my ($angle_z, $angle_y) = @_;
$self->rotate(rad2deg($angle_z), Z, 'absolute');
- $self->rotate(rad2deg($angle_y), Y, 'absolute');
+ $self->rotate(rad2deg($angle_y), Y, 'absolute') if $angle_y != 0;
};
# callback to update object's geometry info while using gizmos