Tech ENABLE_WORLD_COORDINATE - Fixed rotation performed from sidebar manipulation fields

This commit is contained in:
enricoturri1966 2022-02-23 15:51:56 +01:00
parent e86cbf0d8c
commit 2b002da8ce

View File

@ -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();