Minor fix to BridgeDetector
This commit is contained in:
parent
21ea100d0e
commit
a0dda36df0
2 changed files with 3 additions and 1 deletions
|
@ -496,7 +496,8 @@ sub process_external_surfaces {
|
||||||
$angle = $bridge_detector->angle;
|
$angle = $bridge_detector->angle;
|
||||||
|
|
||||||
if (defined $angle && $self->object->config->support_material) {
|
if (defined $angle && $self->object->config->support_material) {
|
||||||
$self->bridged->append($_) for @{ $bridge_detector->coverage_by_angle($angle) };
|
$self->bridged->append(Slic3r::ExPolygon->new($_))
|
||||||
|
for @{ $bridge_detector->coverage_by_angle($angle) };
|
||||||
$self->unsupported_bridge_edges->append($_) for @{ $bridge_detector->unsupported_edges };
|
$self->unsupported_bridge_edges->append($_) for @{ $bridge_detector->unsupported_edges };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,6 +40,7 @@ class LayerRegion
|
||||||
|
|
||||||
// collection of expolygons representing the bridged areas (thus not
|
// collection of expolygons representing the bridged areas (thus not
|
||||||
// needing support material)
|
// needing support material)
|
||||||
|
// (this could be just a Polygons object)
|
||||||
ExPolygonCollection bridged;
|
ExPolygonCollection bridged;
|
||||||
|
|
||||||
// collection of polylines representing the unsupported bridge edges
|
// collection of polylines representing the unsupported bridge edges
|
||||||
|
|
Loading…
Reference in a new issue