From 588c2e59b8c03cfdc3ed9ab01b635feddfb4e1ce Mon Sep 17 00:00:00 2001 From: Fabien Castan Date: Tue, 11 Aug 2020 11:50:59 +0200 Subject: [PATCH] [core] GroupAttribute: check "enabled" property of child params in uid computation Disabled params should not be part of the UID computation, even for child attributes of an enabled GroupAttribute. --- meshroom/core/attribute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshroom/core/attribute.py b/meshroom/core/attribute.py index cb253923d6..d3756abbe3 100644 --- a/meshroom/core/attribute.py +++ b/meshroom/core/attribute.py @@ -434,7 +434,7 @@ def childAttribute(self, key): 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)