mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 18:58:00 -06:00
micro refactor vender type
This commit is contained in:
parent
1f03e4d241
commit
aa4c042855
17 changed files with 79 additions and 81 deletions
|
@ -356,10 +356,8 @@ void ObjectSettings::update_config_values(ModelConfig* config)
|
|||
|
||||
//BBS: change local config to DynamicPrintConfig
|
||||
ConfigManipulation config_manipulation(load_config, toggle_field, nullptr, nullptr, &(config->get()));
|
||||
// BBS: whether the preset is Bambu Lab printer
|
||||
PresetBundle &preset_bundle = *wxGetApp().preset_bundle;
|
||||
bool is_BBL_printer = preset_bundle.printers.get_edited_preset().has_lidar(&preset_bundle);
|
||||
config_manipulation.set_is_BBL_Printer(is_BBL_printer);
|
||||
|
||||
config_manipulation.set_is_BBL_Printer(wxGetApp().preset_bundle->is_bbl_vendor());
|
||||
|
||||
if (!is_object_settings)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue