Fixed non-uniform scale of single volumes selection when made using the sidebar matrix fields
This commit is contained in:
parent
0848617fd3
commit
bbb2a6d714
1 changed files with 2 additions and 2 deletions
|
@ -209,7 +209,7 @@ void ObjectManipulation::update_settings_value(const Selection& selection)
|
||||||
m_new_position = volume->get_volume_offset();
|
m_new_position = volume->get_volume_offset();
|
||||||
m_new_rotation = volume->get_volume_rotation();
|
m_new_rotation = volume->get_volume_rotation();
|
||||||
m_new_scale = volume->get_volume_scaling_factor();
|
m_new_scale = volume->get_volume_scaling_factor();
|
||||||
m_new_size = volume->get_instance_transformation().get_matrix(true, true) * volume->get_volume_transformation().get_matrix(true, true) * volume->bounding_box.size();
|
m_new_size = volume->get_volume_transformation().get_matrix(true, true) * volume->bounding_box.size();
|
||||||
m_new_enabled = true;
|
m_new_enabled = true;
|
||||||
}
|
}
|
||||||
else if (wxGetApp().obj_list()->multiple_selection())
|
else if (wxGetApp().obj_list()->multiple_selection())
|
||||||
|
|
Loading…
Reference in a new issue