mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-05 00:14:04 +08:00
Bugfix: retraction wasn't triggered when moving between copies. #232
This commit is contained in:
parent
8cac0f8c87
commit
0520d1645b
@ -640,7 +640,11 @@ sub export_gcode {
|
||||
$layer_gcode .= $extruder->set_acceleration($Slic3r::perimeter_acceleration);
|
||||
$layer_gcode .= $extruder->extrude_loop($_, 'skirt') for @{ $layer->skirts };
|
||||
|
||||
foreach my $copy (@{$self->copies}) {
|
||||
for (my $i = 0; $i <= $#{$self->copies}; $i++) {
|
||||
# retract explicitely because changing the shift_[xy] properties below
|
||||
# won't always trigger the automatic retraction
|
||||
$layer_gcode .= $extruder->retract;
|
||||
|
||||
$extruder->shift_x($shift[X] + unscale $copy->[X]);
|
||||
$extruder->shift_y($shift[Y] + unscale $copy->[Y]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user