mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Merge remote-tracking branch 'origin/3.5'
This commit is contained in:
commit
3b62284276
7 changed files with 100 additions and 56 deletions
|
@ -306,8 +306,8 @@ class Toolbox(QObject, Extension):
|
|||
all_packages = self._package_manager.getAllInstalledPackagesInfo()
|
||||
if "plugin" in all_packages:
|
||||
# For old plugins, we only want to include the old custom plugin that were installed via the old toolbox.
|
||||
# The bundled plugins will be included in the "bundled_packages.json", so the bundled plugins should be
|
||||
# excluded from the old plugins list/dict.
|
||||
# The bundled plugins will be included in JSON files in the "bundled_packages" folder, so the bundled
|
||||
# plugins should be excluded from the old plugins list/dict.
|
||||
all_plugin_package_ids = set(package["package_id"] for package in all_packages["plugin"])
|
||||
self._old_plugin_ids = set(plugin_id for plugin_id in self._old_plugin_ids
|
||||
if plugin_id not in all_plugin_package_ids)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue