diff --git a/lib/Slic3r/Print.pm b/lib/Slic3r/Print.pm index 4209aa7ae..ed5964bc6 100644 --- a/lib/Slic3r/Print.pm +++ b/lib/Slic3r/Print.pm @@ -587,7 +587,6 @@ sub write_gcode { for my $obj_copy (@$object_copies) { my ($obj_idx, $copy) = @$obj_copy; my $layer = $self->objects->[$obj_idx]->layers->[$layer_id]; - $self->objects->[$obj_idx]->layers->[$layer_id] = undef; # retract explicitely because changing the shift_[xy] properties below # won't always trigger the automatic retraction