From 12aa06e09c6460165f370ebd8e1b14295ca14290 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Wed, 27 Jun 2018 23:17:02 -0500 Subject: [PATCH] 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. --- xs/src/libslic3r/PrintConfig.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xs/src/libslic3r/PrintConfig.cpp b/xs/src/libslic3r/PrintConfig.cpp index 88a0e2494..bd6a43c03 100644 --- a/xs/src/libslic3r/PrintConfig.cpp +++ b/xs/src/libslic3r/PrintConfig.cpp @@ -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);