Revert "Reduce memory usage during gcode output by discarding processed layers."

This reverts commit 4d1551c305.
degen-loop-screen
Alessandro Ranellucci 2012-06-30 16:12:06 +02:00
parent d5c9b74377
commit a7668e0933
1 changed files with 0 additions and 1 deletions

View File

@ -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