ENH: fix duplicate setting name

As title.

Test multi-color 3MF loading OK

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I9b2791f8d020a051f934cda3027293a948b07088
This commit is contained in:
salt.wei 2022-10-26 22:41:19 +08:00 committed by Lane.Wei
parent 24ce050a91
commit c61fd447c9
6 changed files with 13 additions and 7 deletions

View file

@ -1064,13 +1064,20 @@ void PrintConfigDef::init_fff_params()
def->mode = comSimple;
def->set_default_value(new ConfigOptionInts { 60 });
def = this->add("filament_colour", coStrings);
def = this->add("default_filament_colour", coStrings);
def->label = L("Defualt color");
def->tooltip = L("Only used as a visual help on UI");
def->tooltip = L("Default filament colour");
def->gui_type = ConfigOptionDef::GUIType::color;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionStrings{"#00AE42"});
def = this->add("filament_colour", coStrings);
def->label = L("Color");
def->tooltip = L("Only used as a visual help on UI");
def->gui_type = ConfigOptionDef::GUIType::color;
def->mode = comDevelop;
def->set_default_value(new ConfigOptionStrings{ "#00AE42" });
def = this->add("filament_max_volumetric_speed", coFloats);
def->label = L("Max volumetric speed");
def->tooltip = L("This setting stands for how much volume of filament can be melted and extruded per second. "