mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-30 14:58:37 +02:00
[ui] commands: When we undo a node upgrade we enforce uidConflict=True as there was a uid conflict before
This commit is contained in:
parent
e96960913d
commit
54bf61cc5c
1 changed files with 2 additions and 1 deletions
|
@ -434,7 +434,8 @@ class UpgradeNodeCommand(GraphCommand):
|
|||
self.graph.removeNode(self.nodeName)
|
||||
# recreate compatibility node
|
||||
with GraphModification(self.graph):
|
||||
node = nodeFactory(self.nodeDict)
|
||||
# We come back from an upgrade, so we enforce uidConflict=True as there was a uid conflict before
|
||||
node = nodeFactory(self.nodeDict, name=self.nodeName, uidConflict=True)
|
||||
self.graph.addNode(node, self.nodeName)
|
||||
# recreate out edges
|
||||
for dstAttr, srcAttr in self.outEdges.items():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue