mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-06 01:56:09 +08:00
SPE-2218 - libvgcode - Fixed colors for Actual volumetric flow rate view
This commit is contained in:
parent
d81a3c055b
commit
95b39425c2
@ -1764,6 +1764,7 @@ void ViewerImpl::update_color_ranges()
|
|||||||
if (!v.is_custom_gcode() || m_settings.extrusion_roles_visibility.at(EGCodeExtrusionRole::Custom)) {
|
if (!v.is_custom_gcode() || m_settings.extrusion_roles_visibility.at(EGCodeExtrusionRole::Custom)) {
|
||||||
m_width_range.update(round_to_bin(v.width));
|
m_width_range.update(round_to_bin(v.width));
|
||||||
m_volumetric_rate_range.update(round_to_bin(v.volumetric_rate()));
|
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_fan_speed_range.update(v.fan_speed);
|
||||||
m_temperature_range.update(v.temperature);
|
m_temperature_range.update(v.temperature);
|
||||||
@ -1773,7 +1774,6 @@ void ViewerImpl::update_color_ranges()
|
|||||||
v.is_extrusion()) {
|
v.is_extrusion()) {
|
||||||
m_speed_range.update(v.feedrate);
|
m_speed_range.update(v.feedrate);
|
||||||
m_actual_speed_range.update(v.actual_feedrate);
|
m_actual_speed_range.update(v.actual_feedrate);
|
||||||
m_actual_volumetric_rate_range.update(round_to_bin(v.actual_volumetric_rate()));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user