fix: custom zbolt profile filament selection showing only @system (#13468)

* fix: custom zbolt profile filament selection showing only @system

* update renamed_from

* fixed renamed_from

* limit empty compatible_printers exclusion logic to OFL

* restore intended behaviour, updated base files

* rever exclusion logic fix

* reduce fix to just check parent in exclusion list

* remove m_errors increment
This commit is contained in:
Ian Chua
2026-05-12 20:17:22 +08:00
committed by GitHub
parent ad2915e07e
commit 1c7022f4c8
60 changed files with 297 additions and 387 deletions

View File

@@ -790,7 +790,8 @@ bool is_compatible_with_printer(const PresetWithVendorProfile &preset, const Pre
if (preset.vendor != nullptr && preset.preset.type == Preset::TYPE_FILAMENT) {
const auto& excluded_printers = preset.preset.m_excluded_from;
const auto excluded = preset.vendor->name == PresetBundle::ORCA_FILAMENT_LIBRARY &&
excluded_printers.find(active_printer.preset.name) != excluded_printers.end();
(excluded_printers.find(active_printer.preset.name) != excluded_printers.end() ||
excluded_printers.find(active_printer.preset.inherits()) != excluded_printers.end());
if (excluded)
return false;
}