mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-05 04:12:15 +02:00
Merge pull request #2657 from alicevision/dev/valueChangedPropagation
Node: Propagate attribute change via `valueChanged` signal
This commit is contained in:
commit
5710bf3ed3
1 changed files with 1 additions and 1 deletions
|
@ -980,7 +980,7 @@ class BaseNode(BaseObject):
|
||||||
if self.graph:
|
if self.graph:
|
||||||
# If we are in a graph, propagate the notification to the connected output attributes
|
# If we are in a graph, propagate the notification to the connected output attributes
|
||||||
for edge in self.graph.outEdges(attr):
|
for edge in self.graph.outEdges(attr):
|
||||||
edge.dst.node._onAttributeChanged(edge.dst)
|
edge.dst.valueChanged.emit()
|
||||||
|
|
||||||
def onAttributeClicked(self, attr):
|
def onAttributeClicked(self, attr):
|
||||||
""" When an attribute is clicked, a specific function can be defined in the descriptor and be called.
|
""" When an attribute is clicked, a specific function can be defined in the descriptor and be called.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue