From a7698b3d5b0c82fdafb3b6aed31a74d5c0794785 Mon Sep 17 00:00:00 2001 From: Michael Kirsch Date: Sun, 26 May 2019 11:53:14 +0200 Subject: [PATCH] fix discrepancy between manual (user dialog) and incremental (UI button) Z rotation --- lib/Slic3r/GUI/Plater.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Slic3r/GUI/Plater.pm b/lib/Slic3r/GUI/Plater.pm index a8b4e88a0..4cca3904f 100644 --- a/lib/Slic3r/GUI/Plater.pm +++ b/lib/Slic3r/GUI/Plater.pm @@ -1676,6 +1676,8 @@ sub rotate { $angle = Wx::GetTextFromUser("Enter the rotation angle:", "Rotate around $axis_name axis", $default, $self); return if !$angle || $angle !~ /^-?\d*(?:\.\d*)?$/ || $angle == -1; + + $angle = $angle - $default; } $self->stop_background_process;