ENH: show filament vendor in develop mode

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ice9c3a86ce22c4c6dde784afb2e7c23e929ac7d2
This commit is contained in:
salt.wei 2023-06-20 18:34:38 +08:00 committed by Lane.Wei
parent b9ecc86c64
commit 53ea77b67b
2 changed files with 4 additions and 0 deletions

View file

@ -1333,6 +1333,9 @@ void PrintConfigDef::init_fff_params()
def->cli = ConfigOptionDef::nocli;
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->cli = ConfigOptionDef::nocli;

View file

@ -2621,6 +2621,7 @@ void TabFilament::build()
Option option = optgroup->get_option("filament_type");
option.opt.width = Field::def_width();
optgroup->append_single_option_line(option);
optgroup->append_single_option_line("filament_vendor");
optgroup->append_single_option_line("filament_soluble");
// BBS
optgroup->append_single_option_line("filament_is_support");