mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Fix _shouldResolve()
CURA-6456
This commit is contained in:
parent
55dcf31e3c
commit
32fcc79dd8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue