diff --git a/src/libslic3r/Technologies.hpp b/src/libslic3r/Technologies.hpp index 250a45f3f..4f0a04df1 100644 --- a/src/libslic3r/Technologies.hpp +++ b/src/libslic3r/Technologies.hpp @@ -71,8 +71,6 @@ #define ENABLE_VOLUMETRIC_RATE_TOOLPATHS_RECALC (1 && ENABLE_2_5_0_ALPHA1) // Enable editing volumes transformation in world coordinates and instances in local coordinates #define ENABLE_WORLD_COORDINATE (1 && ENABLE_2_5_0_ALPHA1) -// Enable showing world coordinates of volumes' offset relative to the instance containing them -#define ENABLE_WORLD_COORDINATE_VOLUMES_LOCAL_OFFSET (0 && ENABLE_WORLD_COORDINATE) // Enable implementation of Geometry::Transformation using matrices only #define ENABLE_TRANSFORMATIONS_BY_MATRICES (1 && ENABLE_WORLD_COORDINATE) // Enable modified camera control using mouse diff --git a/src/slic3r/GUI/GUI_ObjectManipulation.cpp b/src/slic3r/GUI/GUI_ObjectManipulation.cpp index c6ca3f746..8f5445f54 100644 --- a/src/slic3r/GUI/GUI_ObjectManipulation.cpp +++ b/src/slic3r/GUI/GUI_ObjectManipulation.cpp @@ -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");