Skip to content

Commit

Permalink
[core] Include internal attributes in the UIDs computation
Browse files Browse the repository at this point in the history
  • Loading branch information
cbentejac committed Oct 12, 2022
1 parent 6770e1b commit 0ff15ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions meshroom/core/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -1148,6 +1148,11 @@ def __init__(self, nodeType, position=None, parent=None, **kwargs):
for uidIndex in attr.attributeDesc.uid:
self.attributesPerUid[uidIndex].add(attr)

# Add internal attributes with a UID to the list
for attr in self._internalAttributes:
for uidIndex in attr.attributeDesc.uid:
self.attributesPerUid[uidIndex].add(attr)

self.setAttributeValues(kwargs)

def setAttributeValues(self, values):
Expand Down

0 comments on commit 0ff15ab

Please sign in to comment.