Skip to content

Commit

Permalink
Reverted erroneous change
Browse files Browse the repository at this point in the history
  • Loading branch information
igiannakas committed Dec 8, 2023
1 parent 005814b commit a4f4aef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libslic3r/GCode/ExtrusionProcessor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit a4f4aef

Please sign in to comment.