From 9dd3e1db75d650b8275bcd81997f1051aae1ae4c Mon Sep 17 00:00:00 2001 From: Thor Brigsted Date: Sun, 8 Oct 2017 23:33:25 +0200 Subject: [PATCH] Fixed Output registering as an Input --- Scripts/NodePort.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/NodePort.cs b/Scripts/NodePort.cs index 937c0d1..e3d5451 100644 --- a/Scripts/NodePort.cs +++ b/Scripts/NodePort.cs @@ -39,7 +39,7 @@ public class NodePort { var attribs = fieldInfo.GetCustomAttributes(false); for (int i = 0; i < attribs.Length; i++) { if (attribs[i] is Node.InputAttribute) _direction = IO.Input; - else if (attribs[i] is Node.InputAttribute) _direction = IO.Output; + else if (attribs[i] is Node.OutputAttribute) _direction = IO.Output; } }