From 7685540709528380f87fa77b715169cd9844dc92 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Thu, 23 Jun 2022 14:14:22 +0200 Subject: [PATCH] Ensure that intents and variants are also copied from packages Although we only really need the intents, it doesn't hurt to also include the variants. No idea if we will ever need or use it, but we might as well add it now. CURA-7667 --- cura/CuraPackageManager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cura/CuraPackageManager.py b/cura/CuraPackageManager.py index da71021d1f..24724ed46a 100644 --- a/cura/CuraPackageManager.py +++ b/cura/CuraPackageManager.py @@ -54,6 +54,8 @@ class CuraPackageManager(PackageManager): def initialize(self) -> None: self._installation_dirs_dict["materials"] = Resources.getStoragePath(CuraApplication.ResourceTypes.MaterialInstanceContainer) self._installation_dirs_dict["qualities"] = Resources.getStoragePath(CuraApplication.ResourceTypes.QualityInstanceContainer) + self._installation_dirs_dict["intents"] = Resources.getStoragePath(CuraApplication.ResourceTypes.IntentInstanceContainer) + self._installation_dirs_dict["variants"] = Resources.getStoragePath(CuraApplication.ResourceTypes.VariantInstanceContainer) super().initialize()