Merge remote-tracking branch 'remotes/origin/ys_improvements'

This commit is contained in:
bubnikv 2020-03-13 16:52:12 +01:00
commit d3236f5e70

View file

@ -272,6 +272,8 @@ void ConfigManipulation::toggle_print_fff_options(DynamicPrintConfig* config)
for (auto el : { "skirt_distance", "skirt_height" })
toggle_field(el, have_skirt);
toggle_field("skirt_height", !config->opt_bool("infinit_skirt"));
bool have_brim = config->opt_float("brim_width") > 0;
// perimeter_extruder uses the same logic as in Print::extruders()
toggle_field("perimeter_extruder", have_perimeters || have_brim);