Fix max_bridge_length for organic tree (#11295)

* Remove outdated duplicated support code

* Orgainc tree no longer use `bridge_no_support` since #8212
This commit is contained in:
Noisyfox
2025-11-08 01:27:15 +08:00
committed by GitHub
parent 8fce6c68b8
commit 0b2778e670
5 changed files with 9 additions and 99 deletions

View File

@@ -1390,7 +1390,6 @@ static inline ExPolygons detect_overhangs(
double thresh_angle = object_config.support_threshold_angle.value > 0 ? object_config.support_threshold_angle.value + 1 : 0;
thresh_angle = std::min(thresh_angle, 89.); // BBS should be smaller than 90
const double threshold_rad = Geometry::deg2rad(thresh_angle);
const coordf_t max_bridge_length = scale_(object_config.max_bridge_length.value);
const bool bridge_no_support = object_config.bridge_no_support.value;
const coordf_t xy_expansion = scale_(object_config.support_expansion.value);
float lower_layer_offset = 0;