From 74a4b1bd49a2d1719c96a73cc054943d1fd4d4a2 Mon Sep 17 00:00:00 2001 From: "jiangkai.zhao" Date: Fri, 24 Jan 2025 16:41:20 +0800 Subject: [PATCH] =?UTF-8?q?ENH=EF=BC=9Amodify=20interface=20of=20wipe=20to?= =?UTF-8?q?wer=20brim=5Fwidth?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit jira: none Change-Id: I22e3c30aa6320e7e66316fa15b6c06e26e458a94 --- src/libslic3r/PrintConfig.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index 241a36fb6..d30bb5ed2 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -4341,11 +4341,14 @@ void PrintConfigDef::init_fff_params() def->set_default_value(new ConfigOptionFloat(0.)); def = this->add("prime_tower_brim_width", coFloat); + def->gui_type = ConfigOptionDef::GUIType::f_enum_open; def->label = L("Brim width"); - def->tooltip = L("Brim width of wipe tower, -1 means auto calculated width based on the height of wipe tower."); + def->tooltip = L("Brim width of wipe tower, negative number means auto calculated width based on the height of wipe tower."); def->sidetext = L("mm"); def->mode = comAdvanced; def->min = -1; + def->enum_values.push_back("-1"); + def->enum_labels.push_back(L("Auto")); def->set_default_value(new ConfigOptionFloat(3.)); def = this->add("prime_tower_extra_rib_length", coFloat);