Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsupermerill <merill@free.fr>2022-04-13 12:45:03 +0300
committersupermerill <merill@free.fr>2022-04-15 13:33:44 +0300
commit41dcfcbbcc7375b90a2389b6c811f985c5070679 (patch)
treefc3f1cf4bf868cc711c35224f5bd699df4bf061e /src/libslic3r/PrintConfig.cpp
parent54ac5805cea3a18227d2eeb00599a61624b2a479 (diff)
Add some labels to enum settings that need them.
supermerill/SuperSlicer#1128
Diffstat (limited to 'src/libslic3r/PrintConfig.cpp')
-rw-r--r--src/libslic3r/PrintConfig.cpp16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp
index fb8db9ea2..10d6cea78 100644
--- a/src/libslic3r/PrintConfig.cpp
+++ b/src/libslic3r/PrintConfig.cpp
@@ -4198,9 +4198,12 @@ void PrintConfigDef::init_fff_params()
def->tooltip = L("Select this option to not use/enforce the z-lift on a top surface.");
def->gui_type = ConfigOptionDef::GUIType::f_enum_open;
def->gui_flags = "show_value";
- def->enum_values.push_back(("All surfaces"));
- def->enum_values.push_back(("Not on top"));
- def->enum_values.push_back(("Only on top"));
+ def->enum_values.push_back("All surfaces");
+ def->enum_values.push_back("Not on top");
+ def->enum_values.push_back("Only on top");
+ def->enum_labels.push_back(L("All surfaces"));
+ def->enum_labels.push_back(L("Not on top"));
+ def->enum_labels.push_back(L("Only on top"));
def->mode = comAdvancedE | comSuSi;
def->is_vector_extruder = true;
def->set_default_value(new ConfigOptionStrings{ "All surfaces" });
@@ -4833,7 +4836,7 @@ void PrintConfigDef::init_fff_params()
def->enum_labels.push_back(L("Same as top"));
def->enum_labels.push_back("0.1");
def->enum_labels.push_back("0.2");
- def->enum_values.push_back("50%");
+ def->enum_labels.push_back("50%");
def->min = 0;
def->max_literal = { 20, true };
def->mode = comAdvancedE | comPrusa;
@@ -6121,6 +6124,11 @@ void PrintConfigDef::init_sla_params()
def->enum_values.push_back("Casting");
def->enum_values.push_back("Dental");
def->enum_values.push_back("Heat-resistant");
+ def->enum_labels.push_back(L("Tough"));
+ def->enum_labels.push_back(L("Flexible"));
+ def->enum_labels.push_back(L("Casting"));
+ def->enum_labels.push_back(L("Dental"));
+ def->enum_labels.push_back(L("Heat-resistant"));
def->mode = comSimpleAE | comPrusa;
def->set_default_value(new ConfigOptionString("Tough"));