Toggled "Skirt height" option in respect to "Use unlimit skirt" option
This commit is contained in:
parent
380fffd248
commit
0f5f0b6333
@ -272,6 +272,8 @@ void ConfigManipulation::toggle_print_fff_options(DynamicPrintConfig* config)
|
|||||||
for (auto el : { "skirt_distance", "skirt_height" })
|
for (auto el : { "skirt_distance", "skirt_height" })
|
||||||
toggle_field(el, have_skirt);
|
toggle_field(el, have_skirt);
|
||||||
|
|
||||||
|
toggle_field("skirt_height", !config->opt_bool("infinit_skirt"));
|
||||||
|
|
||||||
bool have_brim = config->opt_float("brim_width") > 0;
|
bool have_brim = config->opt_float("brim_width") > 0;
|
||||||
// perimeter_extruder uses the same logic as in Print::extruders()
|
// perimeter_extruder uses the same logic as in Print::extruders()
|
||||||
toggle_field("perimeter_extruder", have_perimeters || have_brim);
|
toggle_field("perimeter_extruder", have_perimeters || have_brim);
|
||||||
|
Loading…
Reference in New Issue
Block a user