mirror of https://github.com/vitalif/Slic3r
Bugfix: consider holes when searching for supporting surfaces
parent
fcb7f63c87
commit
fbea5dae8f
|
@ -247,7 +247,7 @@ sub process_bridges {
|
||||||
my @supporting_surfaces = ();
|
my @supporting_surfaces = ();
|
||||||
my ($contour_offset) = $expolygon->contour->offset(scale $Slic3r::flow_spacing * sqrt(2));
|
my ($contour_offset) = $expolygon->contour->offset(scale $Slic3r::flow_spacing * sqrt(2));
|
||||||
foreach my $internal_surface (@internal_surfaces) {
|
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) {
|
if (@$intersection) {
|
||||||
push @supporting_surfaces, $internal_surface;
|
push @supporting_surfaces, $internal_surface;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue