[core] Set internal attributes when copy/pasting nodes

This commit is contained in:
Aurore LAFAURIE 2024-04-26 15:56:26 +02:00
parent 6791f02f2d
commit 5d70a51285
2 changed files with 14 additions and 0 deletions

View file

@ -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)