Removed tech ENABLE_WORLD_COORDINATE_VOLUMES_LOCAL_OFFSET

This commit is contained in:
enricoturri1966 2022-06-01 10:13:36 +02:00
parent 4846b504a2
commit f591535d20
2 changed files with 0 additions and 6 deletions

View file

@ -727,11 +727,7 @@ void ObjectManipulation::update_settings_value(const Selection& selection)
if (is_world_coordinates()) {
const Geometry::Transformation trafo(volume->world_matrix());
#if ENABLE_WORLD_COORDINATE_VOLUMES_LOCAL_OFFSET
const Vec3d offset = trafo.get_offset() - volume->get_instance_offset();
#else
const Vec3d& offset = trafo.get_offset();
#endif // ENABLE_WORLD_COORDINATE_VOLUMES_LOCAL_OFFSET
m_new_position = offset;
m_new_rotate_label_string = L("Rotate");