mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 09:16:01 +08:00
Fixed Output registering as an Input
This commit is contained in:
parent
3e54f60188
commit
9dd3e1db75
@ -39,7 +39,7 @@ public class NodePort {
|
|||||||
var attribs = fieldInfo.GetCustomAttributes(false);
|
var attribs = fieldInfo.GetCustomAttributes(false);
|
||||||
for (int i = 0; i < attribs.Length; i++) {
|
for (int i = 0; i < attribs.Length; i++) {
|
||||||
if (attribs[i] is Node.InputAttribute) _direction = IO.Input;
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user