diff options
author | enricoturri1966 <enricoturri@seznam.cz> | 2022-02-23 17:51:56 +0300 |
---|---|---|
committer | enricoturri1966 <enricoturri@seznam.cz> | 2022-06-03 13:27:41 +0300 |
commit | 2b002da8ce98d1eb2c861e411f07bb6c639b82c2 (patch) | |
tree | abf09bf8f0d5cc6b29e059dc728bad7b4b5e6b4c | |
parent | e86cbf0d8c0631b94586d3c98a2b085c9ef4060e (diff) |
Tech ENABLE_WORLD_COORDINATE - Fixed rotation performed from sidebar manipulation fields
-rw-r--r-- | src/slic3r/GUI/GUI_ObjectManipulation.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/slic3r/GUI/GUI_ObjectManipulation.cpp b/src/slic3r/GUI/GUI_ObjectManipulation.cpp index 48934e165..f5abe805c 100644 --- a/src/slic3r/GUI/GUI_ObjectManipulation.cpp +++ b/src/slic3r/GUI/GUI_ObjectManipulation.cpp @@ -1057,10 +1057,13 @@ void ObjectManipulation::change_rotation_value(int axis, double value) if (selection.is_single_full_instance()) transformation_type.set_independent(); - if (!is_world_coordinates()) { + if (is_local_coordinates()) { transformation_type.set_local(); transformation_type.set_absolute(); } + + if (is_instance_coordinates()) + transformation_type.set_instance(); #else if (selection.is_single_full_instance() || selection.requires_local_axes()) transformation_type.set_independent(); |