mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-12 11:37:42 +00:00
Plugin-gate the reslice check and drop non-plugin leftovers
reslice() now enforces only the missing-plugin block via refresh_missing_plugin_block (no second Print::validate); plate ready-status returns to upstream's plain model_fits, matching GLCanvas3D::reload_scene. Also restores main's use_bbl_device_tab and the check_track_enable comment, and drops two unused MainFrame includes.
This commit is contained in:
@@ -695,16 +695,16 @@ bool PresetBundle::use_bbl_network()
|
||||
}
|
||||
|
||||
bool PresetBundle::use_bbl_device_tab() {
|
||||
const auto cfg = printers.get_edited_preset().config;
|
||||
|
||||
if (!is_bbl_vendor())
|
||||
if (!is_bbl_vendor()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (use_bbl_network()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Use bbl device tab if printhost webui url is not set
|
||||
const auto cfg = printers.get_edited_preset().config;
|
||||
// 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