mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 17:09:08 +08:00
Fix _shouldResolve()
CURA-6456
This commit is contained in:
parent
55dcf31e3c
commit
32fcc79dd8
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user