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

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEnrico Turri <enricoturri@seznam.cz>2018-09-04 15:42:14 +0300
committerEnrico Turri <enricoturri@seznam.cz>2018-09-04 15:42:14 +0300
commit15b13405141ca7481f156d204a917fab38c30dc1 (patch)
tree17d4b6b1f08926b1bb0a55238d0013c76b69c8a3 /lib
parent5f2afad95eaa6dfeb81e772f37adfa1d0812788f (diff)
Added ModelInstance::world_matrix() method and stl_transform using eigen transform
Diffstat (limited to 'lib')
-rw-r--r--lib/Slic3r/GUI/Plater.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm
index 00267fe63..ce9e0da68 100644
--- a/lib/Slic3r/GUI/Plater.pm
+++ b/lib/Slic3r/GUI/Plater.pm
@@ -1141,13 +1141,12 @@ sub rotate {
}
# Let's calculate vector of rotation axis (if we don't have it already)
- # The minus is there so that the direction is the same as was established
if (defined $axis) {
if ($axis == X) {
- $axis_x = -1;
+ $axis_x = 1;
}
if ($axis == Y) {
- $axis_y = -1;
+ $axis_y = 1;
}
}