Merge pull request #1027 from alicevision/fix/enabledPropertyInGroupAttributes

[core] GroupAttribute: check "enabled" property of child params in uid computation
This commit is contained in:
Fabien Castan 2020-08-11 12:05:03 +02:00 committed by GitHub
commit 20fa43c1a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -434,7 +434,7 @@ class GroupAttribute(Attribute):
def uid(self, uidIndex):
uids = []
for k, v in self._value.items():
if uidIndex in v.desc.uid:
if v.enabled and uidIndex in v.desc.uid:
uids.append(v.uid(uidIndex))
return hashValue(uids)