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:
SoftFever
2026-07-15 19:18:45 +08:00
parent e116181c07
commit 1551898846
5 changed files with 16 additions and 19 deletions

View File

@@ -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();
}