mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-13 21:35:56 +08:00
infill_first also modifiable if sparse infill
supermerill/SuperSlicer#1971
This commit is contained in:
parent
0c49de940e
commit
004d57f050
@ -375,9 +375,11 @@ void ConfigManipulation::toggle_print_fff_options(DynamicPrintConfig* config)
|
||||
bool has_solid_infill = has_top_solid_infill || has_bottom_solid_infill || (have_infill && (config->opt_int("solid_infill_every_layers") > 0 || config->opt_float("solid_infill_below_area") > 0));
|
||||
// solid_infill_extruder uses the same logic as in Print::extruders()
|
||||
for (auto el : { "top_fill_pattern", "bottom_fill_pattern", "solid_fill_pattern", "enforce_full_fill_volume", "external_infill_margin", "bridged_infill_margin",
|
||||
"infill_first", "solid_infill_extruder", "solid_infill_extrusion_width", "solid_infill_speed" })
|
||||
"solid_infill_extruder", "solid_infill_extrusion_width", "solid_infill_speed" })
|
||||
toggle_field(el, has_solid_infill);
|
||||
|
||||
toggle_field("infill_first", (has_solid_infill || have_infill));
|
||||
|
||||
for (auto el : { "fill_angle", "fill_angle_increment", "bridge_angle", "infill_extrusion_width",
|
||||
"infill_speed" })
|
||||
toggle_field(el, have_infill || has_solid_infill);
|
||||
|
Loading…
x
Reference in New Issue
Block a user