diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2013-11-11 23:50:22 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2013-11-11 23:50:22 +0400 |
commit | 6bb425e88db59dfb39067985e286d218333a2815 (patch) | |
tree | 58664ce905e8d21d8f2daacf147bbd9349f2f7f4 | |
parent | 9f41f0279e4fe6e4fe6fc603210a434efd71cc4b (diff) |
Minor fix about raft and support after previous commit
-rw-r--r-- | lib/Slic3r/Print/Object.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Slic3r/Print/Object.pm b/lib/Slic3r/Print/Object.pm index c504ed57b..64c6b5098 100644 --- a/lib/Slic3r/Print/Object.pm +++ b/lib/Slic3r/Print/Object.pm @@ -65,7 +65,7 @@ sub BUILD { print_z => $print_z, slice_z => scale $slice_z, ); - if ($id > 0) { + if (@{$self->layers} >= 2) { $self->layers->[-2]->upper_layer($self->layers->[-1]); } $id++; |