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
path: root/lib
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2013-07-05 16:17:09 +0400
committerAlessandro Ranellucci <aar@cpan.org>2013-07-05 16:17:09 +0400
commit4d46ebc6cb26be085602f565fbcd2c679677c874 (patch)
treeb0d880dbbe06c2683bc4b8deeaed8686d313034e /lib
parentf26f084064ec02767287262e842b8cab6183b5e8 (diff)
Removed useless, slow, code
Diffstat (limited to 'lib')
-rw-r--r--lib/Slic3r/Layer/Region.pm9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Slic3r/Layer/Region.pm b/lib/Slic3r/Layer/Region.pm
index 3f71bfba9..71bc4a271 100644
--- a/lib/Slic3r/Layer/Region.pm
+++ b/lib/Slic3r/Layer/Region.pm
@@ -226,19 +226,10 @@ sub make_perimeters {
$self->_fill_gaps(\@gaps);
- # TODO: can these be removed?
- @contours = grep $_->is_printable($self->perimeter_flow->scaled_width), @contours;
- @holes = grep $_->is_printable($self->perimeter_flow->scaled_width), @holes;
-
# find nesting hierarchies separately for contours and holes
my $contours_pt = union_pt(\@contours, PFT_EVENODD);
my $holes_pt = union_pt(\@holes, PFT_EVENODD);
- # get lower layer slices for overhang check
- my @lower_slices = $self->id == 0
- ? ()
- : map @$_, @{$self->layer->object->layers->[$self->id-1]->slices};
-
# prepare a coderef for traversing the PolyTree object
# external contours are root items of $contours_pt
# internal contours are the ones next to external