Skip to content

Commit d272470

Browse files
committed
Update connectNodes.py
1 parent 59a01b3 commit d272470

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python_GUI/connectNodes/connectNodes.py

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ def connectNodes():
2121

2222
if numNodes >1 :
2323
if counter != lastIndex:
24+
currentNode.disconnectInput(0)
2425
if currentNode.canConnectInput(0,lastNode) == 1:
2526
currentNode.connectInput(0,lastNode)
2627

0 commit comments

Comments
 (0)