ENH: show filament vendor in develop mode
Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: Ice9c3a86ce22c4c6dde784afb2e7c23e929ac7d2
This commit is contained in:
parent
b9ecc86c64
commit
53ea77b67b
|
@ -1333,6 +1333,9 @@ void PrintConfigDef::init_fff_params()
|
||||||
def->cli = ConfigOptionDef::nocli;
|
def->cli = ConfigOptionDef::nocli;
|
||||||
|
|
||||||
def = this->add("filament_vendor", coStrings);
|
def = this->add("filament_vendor", coStrings);
|
||||||
|
def->label = L("Vendor");
|
||||||
|
def->tooltip = L("Vendor of filament. For show only");
|
||||||
|
def->mode = comAdvanced;
|
||||||
def->set_default_value(new ConfigOptionStrings{L("(Undefined)")});
|
def->set_default_value(new ConfigOptionStrings{L("(Undefined)")});
|
||||||
def->cli = ConfigOptionDef::nocli;
|
def->cli = ConfigOptionDef::nocli;
|
||||||
|
|
||||||
|
|
|
@ -2621,6 +2621,7 @@ void TabFilament::build()
|
||||||
Option option = optgroup->get_option("filament_type");
|
Option option = optgroup->get_option("filament_type");
|
||||||
option.opt.width = Field::def_width();
|
option.opt.width = Field::def_width();
|
||||||
optgroup->append_single_option_line(option);
|
optgroup->append_single_option_line(option);
|
||||||
|
optgroup->append_single_option_line("filament_vendor");
|
||||||
optgroup->append_single_option_line("filament_soluble");
|
optgroup->append_single_option_line("filament_soluble");
|
||||||
// BBS
|
// BBS
|
||||||
optgroup->append_single_option_line("filament_is_support");
|
optgroup->append_single_option_line("filament_is_support");
|
||||||
|
|
Loading…
Reference in New Issue