mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-02 02:42:05 +02:00
[core] graph: move applyExpr when adding a Node to the graph
This commit is contained in:
parent
540fe3d47f
commit
2024d7ab1c
1 changed files with 1 additions and 1 deletions
|
@ -554,6 +554,7 @@ class Graph(BaseObject):
|
|||
for attr in node.attributes: # type: Attribute
|
||||
attr.valueChanged.connect(self.updateInternals)
|
||||
|
||||
node._applyExpr()
|
||||
return node
|
||||
|
||||
def outEdges(self, attribute):
|
||||
|
@ -587,7 +588,6 @@ class Graph(BaseObject):
|
|||
:rtype: Node
|
||||
"""
|
||||
node = self.addNode(Node(nodeDesc=nodeType, parent=self, **kwargs))
|
||||
node._applyExpr()
|
||||
return node
|
||||
|
||||
def _createUniqueNodeName(self, inputName):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue