Fixed minor regression in recent commit

This commit is contained in:
Alessandro Ranellucci 2014-11-07 22:58:48 +01:00
parent 12ba7201c0
commit 16fce2facb

View file

@ -284,7 +284,7 @@ sub make_perimeters {
# detect overhanging/bridging perimeters
my @paths = ();
if ($self->region->config->overhangs) {
if ($self->region->config->overhangs && $self->layer->id > 0) {
# get non-overhang paths by intersecting this loop with the grown lower slices
foreach my $polyline (@{ intersection_ppl([ $polygon ], $lower_slices_p) }) {
push @paths, Slic3r::ExtrusionPath->new(