Fix merging error

This commit is contained in:
Alessandro Ranellucci 2013-07-14 00:20:03 +02:00
parent 31809d473f
commit 7f4dc4e248

View File

@ -101,8 +101,6 @@ sub change_layer {
$self->_layer_overhangs( $self->_layer_overhangs(
$layer->id > 0 && ($Slic3r::Config->overhangs || $Slic3r::Config->start_perimeters_at_non_overhang) $layer->id > 0 && ($Slic3r::Config->overhangs || $Slic3r::Config->start_perimeters_at_non_overhang)
? [ map $_->expolygon->arrayref, grep $_->surface_type == S_TYPE_BOTTOM, map @{$_->slices}, @{$layer->regions} ] ? [ map $_->expolygon->arrayref, grep $_->surface_type == S_TYPE_BOTTOM, map @{$_->slices}, @{$layer->regions} ]
$layer->id > 0 && ($Slic3r::Config->overhangs || $Slic3r::Config->start_perimeters_at_non_overhang)
? [ map $_->expolygon, grep $_->surface_type == S_TYPE_BOTTOM, map @{$_->slices}, @{$layer->regions} ]
: [] : []
); );
if ($self->config->avoid_crossing_perimeters) { if ($self->config->avoid_crossing_perimeters) {