Set drop-down default to 200% for first layer extrusion width

Previous drop-down default was `0` which is shorthand for auto-calculate. This is different from previous behavior. The default option should match the actual defaults and auto has been added as a dropdown option.
This commit is contained in:
Joseph Lenox 2018-06-27 23:17:02 -05:00 committed by GitHub
parent 354b6230bd
commit 12aa06e09c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -567,8 +567,10 @@ PrintConfigDef::PrintConfigDef()
def->cli = "first-layer-extrusion-width=s";
def->ratio_over = "first_layer_height";
def->min = 0;
def->enum_values.push_back("0");
def->enum_values.push_back("200%");
def->enum_labels.push_back("default");
def->enum_values.push_back("0");
def->enum_labels.push_back("auto");
def->default_value = new ConfigOptionFloatOrPercent(200, true);
def = this->add("first_layer_height", coFloatOrPercent);