mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 02:08:08 +02:00
[core] attr: add comment
This commit is contained in:
parent
d5e356c0aa
commit
c2a699e484
1 changed files with 3 additions and 1 deletions
|
@ -276,8 +276,10 @@ class Attribute(BaseObject):
|
|||
# only dependent on the hash of its value without the cache folder
|
||||
return hashValue(self._invalidationValue)
|
||||
if self.isLink:
|
||||
return self.getLinkParam().uid(uidIndex)
|
||||
linkParam = self.getLinkParam(recursive=True)
|
||||
return linkParam.uid(uidIndex)
|
||||
if isinstance(self._value, (list, tuple, set,)):
|
||||
# non-exclusive choice param
|
||||
# hash of sorted values hashed
|
||||
return hashValue([hashValue(v) for v in sorted(self._value)])
|
||||
return hashValue(self._value)
|
||||
|
|
Loading…
Add table
Reference in a new issue