Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Hindess <soft-github@temporalanomaly.com>2013-07-16 13:44:52 +0400
committerMark Hindess <soft-github@temporalanomaly.com>2013-07-16 13:44:52 +0400
commitb5426ad297acd311912862b6ea2eca80580aaa95 (patch)
tree89afdd3fcaaa0ce7746687d6fa2f26c7786f9235
parent027f8d1e5362561e26ff9c9d8e5099d096ce0de7 (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.pm11
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);