Do not combine infill for bottom layer

This commit is contained in:
Alessandro Ranellucci 2012-10-28 14:23:47 +01:00
parent f35cdef2aa
commit b5bd216f5c

View file

@ -434,7 +434,7 @@ sub combine_infill {
# for each possible depth, look for intersections with the lower layer
# we do this from the greater depth to the smaller
for (my $d = $Slic3r::Config->infill_every_layers - 1; $d >= 1; $d--) {
next if ($i - $d) < 0;
next if ($i - $d) <= 0; # do not combine infill for bottom layer
my $lower_layerm = $self->layer($i - 1)->regions->[$region_id];
# select surfaces of the lower layer having the depth we're looking for