mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-01 02:12:04 +02:00
[graph] GroupAttribute: iterate over items() for uid generation
__iter__ of core/qt backends differs for DictModel, which lead to inchorent uids. TODO: fix that by defining a real DictModel in qt backend
This commit is contained in:
parent
03058f4860
commit
900516a854
1 changed files with 3 additions and 3 deletions
|
@ -366,9 +366,9 @@ class GroupAttribute(Attribute):
|
|||
|
||||
def uid(self, uidIndex):
|
||||
uids = []
|
||||
for value in self._value:
|
||||
if uidIndex in value.desc.uid:
|
||||
uids.append(value.uid(uidIndex))
|
||||
for k, v in self._value.items():
|
||||
if uidIndex in v.desc.uid:
|
||||
uids.append(v.uid(uidIndex))
|
||||
return hash(uids)
|
||||
|
||||
def _applyExpr(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue