mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-03 05:20:29 -07:00
Fix filament profile import if inherit from vendor generic (#11398)
* Why log user id when importing profile? * Use `find_preset2` when importing profiles to properly handle renamed system profiles
This commit is contained in:
parent
7b0cdd3ec6
commit
61931d23a4
3 changed files with 2 additions and 6 deletions
|
|
@ -1089,7 +1089,7 @@ bool PresetBundle::import_json_presets(PresetsConfigSubstitutions & s
|
|||
if (inherits_config) {
|
||||
ConfigOptionString *option_str = dynamic_cast<ConfigOptionString *>(inherits_config);
|
||||
inherits_value = option_str->value;
|
||||
inherit_preset = collection->find_preset(inherits_value, false, true);
|
||||
inherit_preset = collection->find_preset2(inherits_value);
|
||||
}
|
||||
if (inherit_preset) {
|
||||
new_config = inherit_preset->config;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue