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

@@ -317,8 +317,8 @@ void ConfigManipulation::toggle_print_fff_options(DynamicPrintConfig* config)
toggle_field("support_material_bottom_contact_distance", have_support_material && ! have_support_soluble);
toggle_field("support_material_closing_radius", have_support_material && support_material_style == smsSnug);
//w28
bool can_remove_bridge = have_support_material && !config->opt_bool("dont_support_bridges");
toggle_field("max_bridge_length", can_remove_bridge);
bool can_remove_bridge = have_support_material && !config->opt_bool("dont_support_bridges") ;
toggle_field("max_bridge_length", can_remove_bridge && support_material_style == smsOrganic);
const bool has_organic_supports = support_material_style == smsOrganic &&
(config->opt_bool("support_material") ||