mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-18 19:46:26 +02:00
[graph] improve Node constructor arguments naming
This commit is contained in:
parent
c3eda1e629
commit
614ef3a5d1
2 changed files with 15 additions and 6 deletions
|
@ -113,7 +113,7 @@ class RemoveNodeCommand(GraphCommand):
|
|||
|
||||
def undoImpl(self):
|
||||
with GraphModification(self.graph):
|
||||
node = self.graph.addNewNode(nodeDesc=self.nodeDict["nodeType"],
|
||||
node = self.graph.addNewNode(nodeType=self.nodeDict["nodeType"],
|
||||
name=self.nodeName, **self.nodeDict["attributes"])
|
||||
assert (node.getName() == self.nodeName)
|
||||
# recreate out edges deleted on node removal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue