Fix wrong inequality sign in surface.bridge_angle check

This commit is contained in:
Pavel Mikuš 2023-01-05 10:18:51 +01:00 committed by GitHub
parent bfb60875fa
commit be73967ac0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1322,7 +1322,7 @@ namespace SupportMaterialInternal {
// remove the entire bridges and only support the unsupported edges
//FIXME the brided regions are already collected as layerm.bridged. Use it?
for (const Surface &surface : layerm.fill_surfaces())
if (surface.surface_type == stBottomBridge && surface.bridge_angle < 0.0)
if (surface.surface_type == stBottomBridge && surface.bridge_angle >= 0.0)
polygons_append(bridges, surface.expolygon);
//FIXME add the gap filled areas. Extrude the gaps with a bridge flow?
// Remove the unsupported ends of the bridges from the bridged areas.