From bbb2a6d714d0c89f00847b47b1569b0849dd4f60 Mon Sep 17 00:00:00 2001
From: Enrico Turri <enricoturri@seznam.cz>
Date: Fri, 22 Mar 2019 11:51:10 +0100
Subject: [PATCH] Fixed non-uniform scale of single volumes selection when made
 using the sidebar matrix fields

---
 src/slic3r/GUI/GUI_ObjectManipulation.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/slic3r/GUI/GUI_ObjectManipulation.cpp b/src/slic3r/GUI/GUI_ObjectManipulation.cpp
index f759250b3..6c8fdcab7 100644
--- a/src/slic3r/GUI/GUI_ObjectManipulation.cpp
+++ b/src/slic3r/GUI/GUI_ObjectManipulation.cpp
@@ -209,8 +209,8 @@ void ObjectManipulation::update_settings_value(const Selection& selection)
         m_new_position = volume->get_volume_offset();
         m_new_rotation = volume->get_volume_rotation();
         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_enabled  = true;
+        m_new_size = volume->get_volume_transformation().get_matrix(true, true) * volume->bounding_box.size();
+        m_new_enabled = true;
     }
     else if (wxGetApp().obj_list()->multiple_selection())
     {