mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-21 01:36:03 +08:00
Fixed minor bug (error message)
This commit is contained in:
parent
d352335a74
commit
aa54950611
@ -63,7 +63,7 @@ namespace XNode {
|
|||||||
|
|
||||||
if (inputAttrib == null && outputAttrib == null) continue;
|
if (inputAttrib == null && outputAttrib == null) continue;
|
||||||
|
|
||||||
if (inputAttrib != null && outputAttrib != null) Debug.LogError("Field " + fieldInfo + " cannot be both input and output.");
|
if (inputAttrib != null && outputAttrib != null) Debug.LogError("Field " + fieldInfo[i].Name + " cannot be both input and output.");
|
||||||
else {
|
else {
|
||||||
if (!portDataCache.ContainsKey(nodeType)) portDataCache.Add(nodeType, new List<NodePort>());
|
if (!portDataCache.ContainsKey(nodeType)) portDataCache.Add(nodeType, new List<NodePort>());
|
||||||
portDataCache[nodeType].Add(new NodePort(fieldInfo[i]));
|
portDataCache[nodeType].Add(new NodePort(fieldInfo[i]));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user