From a7668e09331be72e151ccd691250a26846373c3b Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sat, 30 Jun 2012 16:12:06 +0200 Subject: [PATCH] Revert "Reduce memory usage during gcode output by discarding processed layers." This reverts commit 4d1551c305dc953f0a2eb874f75cd210018e44d4. --- lib/Slic3r/Print.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Slic3r/Print.pm b/lib/Slic3r/Print.pm index 4209aa7a..ed5964bc 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