mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06: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:
parent
9dd228df01
commit
19548fe301
2 changed files with 17 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue