From e70c4849ba2e9e6e56f5299c10a92f502d44e71b Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Thu, 5 Jan 2023 12:33:19 +0100 Subject: [PATCH] Removed unused code --- src/slic3r/GUI/GUI_ObjectManipulation.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/slic3r/GUI/GUI_ObjectManipulation.cpp b/src/slic3r/GUI/GUI_ObjectManipulation.cpp index a0336c685..0ab4f166b 100644 --- a/src/slic3r/GUI/GUI_ObjectManipulation.cpp +++ b/src/slic3r/GUI/GUI_ObjectManipulation.cpp @@ -931,9 +931,6 @@ 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());