From 32fcc79dd8730aea85e0b3212cea16d6a8d82b44 Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Thu, 11 Apr 2019 16:32:56 +0200 Subject: [PATCH] Fix _shouldResolve() CURA-6456 --- cura/Settings/GlobalStack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/Settings/GlobalStack.py b/cura/Settings/GlobalStack.py index 5c05d28739..df881b4714 100755 --- a/cura/Settings/GlobalStack.py +++ b/cura/Settings/GlobalStack.py @@ -212,7 +212,7 @@ class GlobalStack(CuraContainerStack): # Determine whether or not we should try to get the "resolve" property instead of the # requested property. def _shouldResolve(self, key: str, property_name: str, context: Optional[PropertyEvaluationContext] = None) -> bool: - if property_name is not "value": + if property_name != "value": # Do not try to resolve anything but the "value" property return False