mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +02:00
[ui/core] Count for loop added on nodes in graph
This commit is contained in:
parent
91ebc1619c
commit
32b0ed5c8b
4 changed files with 36 additions and 0 deletions
|
@ -899,6 +899,7 @@ class Graph(BaseObject):
|
|||
dstAttr.valueChanged.emit()
|
||||
dstAttr.isLinkChanged.emit()
|
||||
srcAttr.hasOutputConnectionsChanged.emit()
|
||||
dstAttr.node.countForLoopChanged.emit()
|
||||
return edge
|
||||
|
||||
def addEdges(self, *edges):
|
||||
|
@ -915,6 +916,7 @@ class Graph(BaseObject):
|
|||
dstAttr.valueChanged.emit()
|
||||
dstAttr.isLinkChanged.emit()
|
||||
edge.src.hasOutputConnectionsChanged.emit()
|
||||
dstAttr.node.countForLoopChanged.emit()
|
||||
|
||||
def getDepth(self, node, minimal=False):
|
||||
""" Return node's depth in this Graph.
|
||||
|
@ -1485,6 +1487,7 @@ class Graph(BaseObject):
|
|||
nodes, edges = self.dfsOnDiscover(startNodes=[fromNode], reverse=True)
|
||||
for node in nodes:
|
||||
node.dirty = True
|
||||
node.countForLoopChanged.emit()
|
||||
|
||||
def stopExecution(self):
|
||||
""" Request graph execution to be stopped by terminating running chunks"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue