diff --git a/lib/Slic3r/GCode.pm b/lib/Slic3r/GCode.pm index 7f5ed876f..b4a8d6b2f 100644 --- a/lib/Slic3r/GCode.pm +++ b/lib/Slic3r/GCode.pm @@ -439,7 +439,8 @@ sub unretract { my $to_unretract = $self->extruder->retracted + $self->extruder->restart_extra; if ($to_unretract) { $self->speed('retract'); - $gcode .= $self->G0(undef, undef, $to_unretract, "compensate retraction"); + # use G1 instead of G0 because G0 will blend the restart with the previous travel move + $gcode .= $self->G1(undef, undef, $to_unretract, "compensate retraction"); $self->extruder->retracted(0); $self->extruder->restart_extra(0); }