From 67b4dd9b2ab7a1117b19469ddebf00c19a20df8d Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Thu, 10 Nov 2022 15:10:16 +0100 Subject: [PATCH] Gizmo measure - Fixed feature color while point selection mode is active --- src/slic3r/GUI/Gizmos/GLGizmoMeasure.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/Gizmos/GLGizmoMeasure.cpp b/src/slic3r/GUI/Gizmos/GLGizmoMeasure.cpp index d2a12a3a4..83607b1d3 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoMeasure.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoMeasure.cpp @@ -865,9 +865,9 @@ void GLGizmoMeasure::on_render() if (m_curr_feature.has_value()) { std::vector colors; if (m_selected_features.first.feature.has_value() && *m_curr_feature == *m_selected_features.first.feature) - colors.emplace_back(SELECTED_1ST_COLOR); + colors.emplace_back(hovering_color()); else if (m_selected_features.second.feature.has_value() && *m_curr_feature == *m_selected_features.second.feature) - colors.emplace_back(SELECTED_2ND_COLOR); + colors.emplace_back(hovering_color()); else { switch (m_curr_feature->get_type()) {