Fix one and zero perimeter case - no bridging was generated

This commit is contained in:
PavelMikus 2023-03-14 11:38:16 +01:00 committed by Pavel Mikuš
parent 4af37ca4a5
commit 257837c071

View File

@ -2090,7 +2090,7 @@ void PrintObject::bridge_over_infill()
if (area_to_be_bridge.empty()) if (area_to_be_bridge.empty())
continue; continue;
Polygons boundary_area = union_(expansion_area, expand(area_to_be_bridge, flow.scaled_spacing())); Polygons boundary_area = union_(expansion_area, area_to_be_bridge);
Polylines boundary_plines = to_polylines(boundary_area); Polylines boundary_plines = to_polylines(boundary_area);
double bridging_angle = 0; double bridging_angle = 0;
Polygons tmp_expanded_area = expand(area_to_be_bridge, 3.0 * flow.scaled_spacing()); Polygons tmp_expanded_area = expand(area_to_be_bridge, 3.0 * flow.scaled_spacing());