mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-03-07 11:04:46 -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
|
|
@ -2731,7 +2731,7 @@ Preset* PresetCollection::find_preset(const std::string &name, bool first_visibl
|
|||
first_visible_if_not_found ? &this->first_visible() : nullptr;
|
||||
}
|
||||
|
||||
Preset* PresetCollection::find_preset2(const std::string& name, bool auto_match)
|
||||
Preset* PresetCollection::find_preset2(const std::string& name, bool auto_match/* = true */)
|
||||
{
|
||||
auto preset = find_preset(name,false,true);
|
||||
if (preset == nullptr) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue