1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-20 17:26:02 +08:00

Fixed warning

This commit is contained in:
Thor Brigsted 2019-09-07 04:03:00 +02:00
parent 1254836a84
commit 4e1b2e1fe6

View File

@ -319,7 +319,6 @@ namespace XNodeEditor {
XNode.NodePort port = node.GetPort(fieldName + " " + index);
if (hasArrayData) {
if (arrayData.arraySize <= index) {
string portInfo = port != null ? port.fieldName : "";
EditorGUI.LabelField(rect, "Array[" + index + "] data out of range");
return;
}