Bugfix: consider holes when searching for supporting surfaces

This commit is contained in:
Alessandro Ranellucci 2011-12-20 22:37:59 +01:00
parent fcb7f63c87
commit fbea5dae8f

View file

@ -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;
}