From 5dcf2775638d3508b543b03d78d61dfccb351d11 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Thu, 13 Jun 2013 10:27:47 +0200 Subject: [PATCH] Rotate cw when using free rotation button to be consistent with icon. #1171 --- lib/Slic3r/GUI/Plater.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index 460f10edb..5f55575ab 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -425,6 +425,7 @@ sub rotate { if (!defined $angle) { $angle = Wx::GetNumberFromUser("", "Enter the rotation angle:", "Rotate", $object->rotate, -364, 364, $self); return if !$angle || $angle == -1; + $angle = 0 - $angle; # rotate clockwise (be consistent with button icon) } $object->rotate($object->rotate + $angle);