mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
Don't perform wiping if we have just changed layer and no extrusions were performed before the first retraction. Includes regression test. #2214
This commit is contained in:
@@ -96,6 +96,10 @@ sub change_layer {
|
||||
$gcode .= $self->retract;
|
||||
}
|
||||
$gcode .= $self->writer->travel_to_z($z, 'move to next layer (' . $self->layer->id . ')');
|
||||
|
||||
# forget last wiping path as wiping after raising Z is pointless
|
||||
$self->wipe->path(undef);
|
||||
|
||||
return $gcode;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user