Minor fix to BridgeDetector

This commit is contained in:
Alessandro Ranellucci 2014-12-17 01:21:12 +01:00
parent 21ea100d0e
commit a0dda36df0
2 changed files with 3 additions and 1 deletions

View File

@ -496,7 +496,8 @@ sub process_external_surfaces {
$angle = $bridge_detector->angle;
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 };
}
}

View File

@ -40,6 +40,7 @@ class LayerRegion
// collection of expolygons representing the bridged areas (thus not
// needing support material)
// (this could be just a Polygons object)
ExPolygonCollection bridged;
// collection of polylines representing the unsupported bridge edges