FIX: remember the status of uniform scale
Change-Id: I60f36d6ac6e9be1be4b3e45bd3e7868dcd062e5d (cherry picked from commit b1cde25a722a62720f7a877c985246078320149c)
This commit is contained in:
parent
10d8b6c609
commit
24778543e2
1 changed files with 0 additions and 7 deletions
|
@ -89,13 +89,6 @@ void GizmoObjectManipulation::update_settings_value(const Selection& selection)
|
|||
const GLVolume* volume = selection.get_volume(*selection.get_volume_idxs().begin());
|
||||
m_new_position = volume->get_instance_offset();
|
||||
|
||||
// Verify whether the instance rotation is multiples of 90 degrees, so that the scaling in world coordinates is possible.
|
||||
if (m_world_coordinates && ! m_uniform_scale &&
|
||||
! Geometry::is_rotation_ninety_degrees(volume->get_instance_rotation())) {
|
||||
// Manipulating an instance in the world coordinate system, rotation is not multiples of ninety degrees, therefore enforce uniform scaling.
|
||||
m_uniform_scale = true;
|
||||
}
|
||||
|
||||
if (m_world_coordinates) {
|
||||
m_new_rotate_label_string = L("Rotate");
|
||||
m_new_rotation = volume->get_instance_rotation() * (180. / M_PI);
|
||||
|
|
Loading…
Reference in a new issue