diff options
author | Mark Hindess <soft-github@temporalanomaly.com> | 2013-07-16 13:44:52 +0400 |
---|---|---|
committer | Mark Hindess <soft-github@temporalanomaly.com> | 2013-07-16 13:44:52 +0400 |
commit | b5426ad297acd311912862b6ea2eca80580aaa95 (patch) | |
tree | 89afdd3fcaaa0ce7746687d6fa2f26c7786f9235 | |
parent | 027f8d1e5362561e26ff9c9d8e5099d096ce0de7 (diff) |
Revert "Optimization: simplify fill_surfaces before the offset operation"
To workaround issue #1325 and possibly #1320.
This reverts commit 3a046e34111aeaf3701062f006e9f5957635e15b.
-rw-r--r-- | lib/Slic3r/Layer/Region.pm | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/Slic3r/Layer/Region.pm b/lib/Slic3r/Layer/Region.pm index 6aa634041..6d1d4745e 100644 --- a/lib/Slic3r/Layer/Region.pm +++ b/lib/Slic3r/Layer/Region.pm @@ -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); |