From a68eebf03cf6b11e1f82c3c281ca3ba354f64d10 Mon Sep 17 00:00:00 2001 From: Kostas Karmas Date: Mon, 5 Oct 2020 16:34:20 +0200 Subject: [PATCH] Follow symlinks when checking plugin signatures only in DEBUG mode CURA-7735 --- cura/CuraApplication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index a05e7a6d26..1cae329621 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -714,7 +714,7 @@ class CuraApplication(QtApplication): ## Handle loading of all plugin types (and the backend explicitly) # \sa PluginRegistry def _loadPlugins(self) -> None: - self._plugin_registry.setCheckIfTrusted(ApplicationMetadata.IsEnterpriseVersion) + self._plugin_registry.setCheckIfTrusted(ApplicationMetadata.IsEnterpriseVersion, ApplicationMetadata.CuraDebugMode) self._plugin_registry.addType("profile_reader", self._addProfileReader) self._plugin_registry.addType("profile_writer", self._addProfileWriter)