Fixed visibility of Object Manipulator reset buttons for single instance selection
This commit is contained in:
parent
c16fa93bdb
commit
22a1109e30
@ -944,6 +944,9 @@ void ObjectManipulation::update_reset_buttons_visibility()
|
||||
|
||||
if (selection.is_single_full_instance()) {
|
||||
#if ENABLE_WORLD_COORDINATE
|
||||
const Geometry::Transformation& trafo = volume->get_instance_transformation();
|
||||
rotation = trafo.get_rotation_matrix();
|
||||
scale = trafo.get_scaling_factor_matrix();
|
||||
const Selection::IndicesList& idxs = selection.get_volume_idxs();
|
||||
for (unsigned int id : idxs) {
|
||||
const Geometry::Transformation world_trafo(selection.get_volume(id)->world_matrix());
|
||||
|
Loading…
Reference in New Issue
Block a user