From 9332c2179166e93ab2f2fca0a1fa9099f845699c Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Fri, 6 Mar 2015 10:36:04 +0100 Subject: [PATCH] Bugfix: double wipe was not prevented, causing potential collision between objects in sequential printing. #2691 --- lib/Slic3r/GCode.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Slic3r/GCode.pm b/lib/Slic3r/GCode.pm index 307beb1e02..27f5dbe537 100644 --- a/lib/Slic3r/GCode.pm +++ b/lib/Slic3r/GCode.pm @@ -589,6 +589,9 @@ sub wipe { $retracted += $dE; } $gcodegen->writer->extruder->set_retracted($gcodegen->writer->extruder->retracted + $retracted); + + # prevent wiping again on same path + $self->path(undef); } return $gcode;