mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-03 03:11:56 +02:00
[core] Set internal attributes when copy/pasting nodes
This commit is contained in:
parent
6791f02f2d
commit
5d70a51285
2 changed files with 14 additions and 0 deletions
|
@ -617,6 +617,7 @@ class Graph(BaseObject):
|
|||
attributes = {}
|
||||
attributes.update(data[key].get("inputs", {}))
|
||||
attributes.update(data[key].get("outputs", {}))
|
||||
attributes.update(data[key].get("internalInputs", {}))
|
||||
|
||||
node = Node(nodeType, position=position[positionCnt], **attributes)
|
||||
self._addNode(node, key)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue