mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 17:27:52 -06:00
FIX: fix the vendor disappear issue after de-select the printers in newbie_guide
after the vendor profile is deselected the system files are deleted from userdata dir we should always load the other vendor's profiles from resource instead of userdata dir Change-Id: I29220d30d203ea318092430c02cfa662caf0f388
This commit is contained in:
parent
0aef20dd23
commit
c2c7a6786d
2 changed files with 25 additions and 3 deletions
|
@ -893,11 +893,13 @@ void PresetUpdater::priv::check_installed_vendor_profiles() const
|
|||
bundles.push_back(vendor_name);
|
||||
}
|
||||
}
|
||||
else //if vendor has no file, copy it from resource
|
||||
else if (vendor_name == PresetBundle::BBL_BUNDLE) {//if vendor has no file, copy it from resource for BBL
|
||||
bundles.push_back(vendor_name);
|
||||
}
|
||||
}
|
||||
else //always update configs from resource to vendor
|
||||
else if (vendor_name == PresetBundle::BBL_BUNDLE) {//always update configs from resource to vendor for BBL
|
||||
bundles.push_back(vendor_name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue