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
# non-collapsing regions
push @{ $self->fill_surfaces },
offset2_ex(
[ map $_->simplify(&Slic3r::SCALED_RESOLUTION), @last ],
-($perimeter_spacing/2 + $infill_spacing),
+$infill_spacing,
);
map $_->simplify(&Slic3r::SCALED_RESOLUTION),
offset2_ex(
\@last,
-($perimeter_spacing/2 + $infill_spacing),
+$infill_spacing,
);
}
$self->_fill_gaps(\@gaps);