mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-02 00:08:29 +02:00
[core] Graph: change signature of dfsOnDiscover()
This commit is contained in:
parent
f8bd40ad38
commit
208749d897
5 changed files with 24 additions and 24 deletions
|
@ -526,7 +526,7 @@ class UIGraph(QObject):
|
|||
with self.groupedGraphModification("Remove Nodes from {}".format(startNode.name)):
|
||||
# Perform nodes removal from leaves to start node so that edges
|
||||
# can be re-created in correct order on redo.
|
||||
[self.removeNode(node) for node in reversed(self._graph.dfsOnDiscover(startNode)[0])]
|
||||
[self.removeNode(node) for node in reversed(self._graph.dfsOnDiscover(startNodes=[startNode])[0])]
|
||||
|
||||
@Slot(Attribute, Attribute)
|
||||
def addEdge(self, src, dst):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue