mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-04 12:20:40 +08:00
fix discrepancy between manual (user dialog) and incremental (UI button) Z rotation
This commit is contained in:
parent
53ed1cd992
commit
a7698b3d5b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user