diff --git a/src/libslic3r/GCode.cpp b/src/libslic3r/GCode.cpp index 7a2167fc8..029ebf2bc 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -176,7 +176,7 @@ bool GCode::gcode_label_objects = false; // Shorten the retraction length by the amount already retracted before wipe. length *= (1. - gcodegen.writer().extruder()->retract_before_wipe()); - if (length > 0) { + if (length >= 0) { /* Calculate how long we need to travel in order to consume the required amount of retraction. In other words, how far do we move in XY at wipe_speed for the time needed to consume retraction_length at retraction_speed? */