diff options
author | Lukas Matena <lukasmatena@seznam.cz> | 2018-08-09 17:55:43 +0300 |
---|---|---|
committer | Lukas Matena <lukasmatena@seznam.cz> | 2018-08-13 10:45:18 +0300 |
commit | 25a6c7e30e83e6a691d580fdf3645635ed459a06 (patch) | |
tree | 0c6a5e2492fe04eef46262de6a385ec9f078cd53 /lib/Slic3r/GUI | |
parent | a06b6716eaab6784fa09a839ac1a384f536cc33c (diff) |
Created a new gizmo for flattening an object
Diffstat (limited to 'lib/Slic3r/GUI')
-rw-r--r-- | lib/Slic3r/GUI/Plater.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index a0eef72fe..e9cdf1527 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -141,8 +141,9 @@ sub new { # callback to react to gizmo rotate my $on_gizmo_rotate = sub { - my ($angle_z) = @_; + my ($angle_z, $angle_y) = @_; $self->rotate(rad2deg($angle_z), Z, 'absolute'); + $self->rotate(rad2deg($angle_y), Y, 'absolute'); }; # callback to update object's geometry info while using gizmos |