Merge pull request #2657 from alicevision/dev/valueChangedPropagation

Node: Propagate attribute change via `valueChanged` signal
This commit is contained in:
Candice Bentéjac 2025-02-14 11:04:26 +01:00 committed by GitHub
commit 5710bf3ed3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -980,7 +980,7 @@ class BaseNode(BaseObject):
if self.graph:
# If we are in a graph, propagate the notification to the connected output attributes
for edge in self.graph.outEdges(attr):
edge.dst.node._onAttributeChanged(edge.dst)
edge.dst.valueChanged.emit()
def onAttributeClicked(self, attr):
""" When an attribute is clicked, a specific function can be defined in the descriptor and be called.