File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
RuntimeNodeEditor/Scripts/Graph Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -518,7 +518,7 @@ PrefabInstance:
518518 - target : {fileID: 2037711194971394908, guid: 08a2cede52f8c4446ba4b9e7b0d17783,
519519 type : 3}
520520 propertyPath : connectionType
521- value : 1
521+ value : 0
522522 objectReference : {fileID: 0}
523523 - target : {fileID: 4426410529968217237, guid: 08a2cede52f8c4446ba4b9e7b0d17783,
524524 type : 3}
@@ -660,7 +660,7 @@ PrefabInstance:
660660 - target : {fileID: 2037711194971394908, guid: 08a2cede52f8c4446ba4b9e7b0d17783,
661661 type : 3}
662662 propertyPath : connectionType
663- value : 1
663+ value : 0
664664 objectReference : {fileID: 0}
665665 - target : {fileID: 4426410529968217237, guid: 08a2cede52f8c4446ba4b9e7b0d17783,
666666 type : 3}
@@ -802,7 +802,7 @@ PrefabInstance:
802802 - target : {fileID: 2037711194971394908, guid: 08a2cede52f8c4446ba4b9e7b0d17783,
803803 type : 3}
804804 propertyPath : connectionType
805- value : 1
805+ value : 0
806806 objectReference : {fileID: 0}
807807 - target : {fileID: 4426410529968217237, guid: 08a2cede52f8c4446ba4b9e7b0d17783,
808808 type : 3}
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ public class ColorDisplayNode : Node
1717
1818 public override void Setup ( )
1919 {
20+ rInput . connectionType = ConnectionType . Single ;
21+ gInput . connectionType = ConnectionType . Single ;
22+ bInput . connectionType = ConnectionType . Single ;
23+
2024 Register ( rInput ) ;
2125 Register ( gInput ) ;
2226 Register ( bInput ) ;
Original file line number Diff line number Diff line change @@ -117,7 +117,8 @@ public void Disconnect(Connection conn)
117117
118118 public void Disconnect ( SocketInput input )
119119 {
120- foreach ( var conn in input . Connections )
120+ var dcList = new List < Connection > ( input . Connections ) ;
121+ foreach ( var conn in dcList )
121122 {
122123 Disconnect ( conn ) ;
123124 }
You can’t perform that action at this time.
0 commit comments