Skip to content

Commit b371eef

Browse files
committed
[core] graph: Trigger onGraphUpdated slot when chunks change
`onGraphUpdated` updates the models for chunks, including the placeholder, which allows to have an up-to-date status for all the existing chunks as well as the placeholder one when a node's number of chunks hasn't been determined yet.
1 parent e7f4ecd commit b371eef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

meshroom/core/graph.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ def _addNode(self, node, uniqueName):
500500
node._name = uniqueName
501501
node.graph = self
502502
self._nodes.add(node)
503+
node.chunksChanged.connect(self.updated)
503504

504505
def addNode(self, node, uniqueName=None):
505506
"""

0 commit comments

Comments
 (0)