From ef446f6930ce757aa86aa57262a6c772037c70ee Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Thu, 10 Jan 2019 10:35:30 +0100 Subject: [PATCH] Fixed orientation of visual hints for sidebar size fields --- src/slic3r/GUI/GLCanvas3D.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index 8875bc157d..20ecc70b96 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -2041,7 +2041,7 @@ void GLCanvas3D::Selection::render_sidebar_hints(const std::string& sidebar_fiel if (is_single_full_instance()) { ::glTranslated(center(0), center(1), center(2)); - if (boost::starts_with(sidebar_field, "scale")) + if (boost::starts_with(sidebar_field, "scale") || boost::starts_with(sidebar_field, "size")) { Transform3d orient_matrix = (*m_volumes)[*m_list.begin()]->get_instance_transformation().get_matrix(true, false, true, true); ::glMultMatrixd(orient_matrix.data());