mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-21 10:37:18 +02:00
[core] attr: uid for dynamic output attributes use the node uid
This commit is contained in:
parent
c2a699e484
commit
695d590ea6
1 changed files with 6 additions and 2 deletions
|
@ -273,6 +273,10 @@ class Attribute(BaseObject):
|
|||
# 'uidIndex' should be in 'self.desc.uid' but in the case of linked attribute
|
||||
# it will not be the case (so we cannot have an assert).
|
||||
if self.isOutput:
|
||||
if self.desc.isDynamicValue:
|
||||
# if it is dynamic, the uid is the one from the node itself
|
||||
return self.node._uids.get(uidIndex)
|
||||
else:
|
||||
# only dependent on the hash of its value without the cache folder
|
||||
return hashValue(self._invalidationValue)
|
||||
if self.isLink:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue