mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-17 07:01:54 -06:00
Update profile valdiator
This commit is contained in:
parent
f8698d89a4
commit
26a55a1267
2 changed files with 5 additions and 0 deletions
|
@ -4215,6 +4215,9 @@ bool PresetBundle::has_errors() const
|
|||
for (auto& preset : filaments) {
|
||||
if (!preset.is_system)
|
||||
continue;
|
||||
// It's per design that the Orca Filament Library can have the empty compatible_printers.
|
||||
if(preset.vendor->name == PresetBundle::ORCA_FILAMENT_LIBRARY)
|
||||
continue;
|
||||
auto* compatible_printers = dynamic_cast<const ConfigOptionStrings*>(preset.config.option("compatible_printers"));
|
||||
if (compatible_printers == nullptr || compatible_printers->values.empty()) {
|
||||
has_errors = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue