Revert "Optimization: simplify fill_surfaces before the offset operation"

To workaround issue #1325 and possibly #1320.

This reverts commit 3a046e3411.
This commit is contained in:
Mark Hindess 2013-07-16 10:44:52 +01:00
parent 027f8d1e53
commit b5426ad297

View File

@ -209,11 +209,12 @@ sub make_perimeters {
# and then we offset back and forth by the infill spacing to only consider the # and then we offset back and forth by the infill spacing to only consider the
# non-collapsing regions # non-collapsing regions
push @{ $self->fill_surfaces }, push @{ $self->fill_surfaces },
offset2_ex( map $_->simplify(&Slic3r::SCALED_RESOLUTION),
[ map $_->simplify(&Slic3r::SCALED_RESOLUTION), @last ], offset2_ex(
-($perimeter_spacing/2 + $infill_spacing), \@last,
+$infill_spacing, -($perimeter_spacing/2 + $infill_spacing),
); +$infill_spacing,
);
} }
$self->_fill_gaps(\@gaps); $self->_fill_gaps(\@gaps);