mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-22 10:22:08 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user