From ed5815f919b57348a9b1a53dee4191cd0b247042 Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Thu, 8 Dec 2022 10:50:08 +0100 Subject: [PATCH] Tech ENABLE_WORLD_COORDINATE - Show coordinate axes in scene view, while editing fields into the object manipulator panel, only for instance reference system --- src/slic3r/GUI/Selection.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/slic3r/GUI/Selection.cpp b/src/slic3r/GUI/Selection.cpp index cdc653b5b..7e44b73f6 100644 --- a/src/slic3r/GUI/Selection.cpp +++ b/src/slic3r/GUI/Selection.cpp @@ -119,10 +119,10 @@ Selection::Selection() { this->set_bounding_boxes_dirty(); #if ENABLE_WORLD_COORDINATE - m_axes.set_stem_radius(0.15f); - m_axes.set_stem_length(3.0f); - m_axes.set_tip_radius(0.45f); - m_axes.set_tip_length(1.5f); + m_axes.set_stem_radius(0.5f); + m_axes.set_stem_length(20.0f); + m_axes.set_tip_radius(1.5f); + m_axes.set_tip_length(5.0f); #endif // ENABLE_WORLD_COORDINATE } @@ -1864,7 +1864,7 @@ void Selection::render_sidebar_hints(const std::string& sidebar_field) #if ENABLE_WORLD_COORDINATE if (!boost::starts_with(sidebar_field, "layer")) { - if (!wxGetApp().obj_manipul()->is_world_coordinates()) + if (wxGetApp().obj_manipul()->is_instance_coordinates()) m_axes.render(Geometry::translation_transform(axes_center) * orient_matrix, 0.25f); } #endif // ENABLE_WORLD_COORDINATE