From fbea5dae8f8c89dbd27b0c249cc398c1c9fde630 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Tue, 20 Dec 2011 22:37:59 +0100 Subject: [PATCH] Bugfix: consider holes when searching for supporting surfaces --- lib/Slic3r/Layer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/Layer.pm b/lib/Slic3r/Layer.pm index 8e35b8a1..af880008 100644 --- a/lib/Slic3r/Layer.pm +++ b/lib/Slic3r/Layer.pm @@ -247,7 +247,7 @@ sub process_bridges { my @supporting_surfaces = (); my ($contour_offset) = $expolygon->contour->offset(scale $Slic3r::flow_spacing * sqrt(2)); foreach my $internal_surface (@internal_surfaces) { - my $intersection = intersection_ex([$contour_offset], [$internal_surface->contour->p]); + my $intersection = intersection_ex([$contour_offset], [$internal_surface->p]); if (@$intersection) { push @supporting_surfaces, $internal_surface; }