fix max_bridge_length with support_material_style

This commit is contained in:
Wang YB
2024-04-25 10:33:58 +08:00
parent b9452a91a2
commit 128a023c41
3 changed files with 4 additions and 4 deletions

View File

@@ -1145,7 +1145,7 @@ static inline std::tuple<Polygons, Polygons, Polygons, float> detect_overhangs(
float no_interface_offset = 0.f;
//w28
double max_bridge_length = scale_(object_config.max_bridge_length.value);
bool bridge_break = object_config.max_bridge_length.value > 0;
bool bridge_break = (object_config.max_bridge_length.value > 0) && (object_config.support_material_style == smsOrganic);
if (layer_id == 0)
{