mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-19 08:52:09 +00:00
feat: Python Plugins
This commit is contained in:
@@ -651,16 +651,16 @@ bool PresetBundle::use_bbl_network()
|
||||
}
|
||||
|
||||
bool PresetBundle::use_bbl_device_tab() {
|
||||
if (!is_bbl_vendor()) {
|
||||
const auto cfg = printers.get_edited_preset().config;
|
||||
|
||||
if (!is_bbl_vendor())
|
||||
return false;
|
||||
}
|
||||
|
||||
if (use_bbl_network()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
const auto cfg = printers.get_edited_preset().config;
|
||||
// Use bbl device tab if printhost webui url is not set
|
||||
// Use bbl device tab if printhost webui url is not set
|
||||
return cfg.opt_string("print_host_webui").empty();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user