From f4951367eac5e32e62ffe3dbaa37b4d5e84ffe28 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Tue, 17 Dec 2013 16:15:25 +0100 Subject: [PATCH] Fixed fatal error about missing method thin_walls(). #1607 #1615 --- lib/Slic3r/Print/Object.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/Print/Object.pm b/lib/Slic3r/Print/Object.pm index 0942e5bfc..9967c24d3 100644 --- a/lib/Slic3r/Print/Object.pm +++ b/lib/Slic3r/Print/Object.pm @@ -198,7 +198,7 @@ sub slice { # remove empty layers from bottom my $first_object_layer_id = $self->config->raft_layers; - while (@{$self->layers} && !@{$self->layers->[$first_object_layer_id]->slices} && !map @{$_->thin_walls}, @{$self->layers->[$first_object_layer_id]->regions}) { + while (@{$self->layers} && !@{$self->layers->[$first_object_layer_id]->slices}, @{$self->layers->[$first_object_layer_id]->regions}) { splice @{$self->layers}, $first_object_layer_id, 1; for (my $i = $first_object_layer_id; $i <= $#{$self->layers}; $i++) { $self->layers->[$i]->id($i);