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
diff options
context:
space:
mode:
authorenricoturri1966 <enricoturri@seznam.cz>2022-02-23 17:51:56 +0300
committerenricoturri1966 <enricoturri@seznam.cz>2022-06-03 13:27:41 +0300
commit2b002da8ce98d1eb2c861e411f07bb6c639b82c2 (patch)
treeabf09bf8f0d5cc6b29e059dc728bad7b4b5e6b4c
parente86cbf0d8c0631b94586d3c98a2b085c9ef4060e (diff)
Tech ENABLE_WORLD_COORDINATE - Fixed rotation performed from sidebar manipulation fields
-rw-r--r--src/slic3r/GUI/GUI_ObjectManipulation.cpp5
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();