diff --git a/src/libslic3r/GCode/ExtrusionProcessor.hpp b/src/libslic3r/GCode/ExtrusionProcessor.hpp index f9244c4e42f..c6c1c102dea 100644 --- a/src/libslic3r/GCode/ExtrusionProcessor.hpp +++ b/src/libslic3r/GCode/ExtrusionProcessor.hpp @@ -380,9 +380,8 @@ class ExtrusionQualityEstimator }; float extrusion_speed = std::min(calculate_speed(curr.distance), calculate_speed(next.distance)); - float curled_speed = 0; if(slowdown_for_curled_edges) { - curled_speed = calculate_speed(artificial_distance_to_curled_lines); + float curled_speed = calculate_speed(artificial_distance_to_curled_lines); extrusion_speed = std::min(curled_speed, extrusion_speed); // adjust extrusion speed based on what is smallest - the calculated overhang speed or the artificial curled speed }