From 95b39425c267610e8591b4321e2a128ce75c73dd Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Fri, 5 Apr 2024 09:16:42 +0200 Subject: [PATCH] SPE-2218 - libvgcode - Fixed colors for Actual volumetric flow rate view --- src/libvgcode/src/ViewerImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libvgcode/src/ViewerImpl.cpp b/src/libvgcode/src/ViewerImpl.cpp index 24aa5b3166..bf16c3ee57 100644 --- a/src/libvgcode/src/ViewerImpl.cpp +++ b/src/libvgcode/src/ViewerImpl.cpp @@ -1764,6 +1764,7 @@ void ViewerImpl::update_color_ranges() if (!v.is_custom_gcode() || m_settings.extrusion_roles_visibility.at(EGCodeExtrusionRole::Custom)) { m_width_range.update(round_to_bin(v.width)); m_volumetric_rate_range.update(round_to_bin(v.volumetric_rate())); + m_actual_volumetric_rate_range.update(round_to_bin(v.actual_volumetric_rate())); } m_fan_speed_range.update(v.fan_speed); m_temperature_range.update(v.temperature); @@ -1773,7 +1774,6 @@ void ViewerImpl::update_color_ranges() v.is_extrusion()) { m_speed_range.update(v.feedrate); m_actual_speed_range.update(v.actual_feedrate); - m_actual_volumetric_rate_range.update(round_to_bin(v.actual_volumetric_rate())); } }