mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-21 01:36:03 +08:00
Fixed drawing arrays inside InstancePortList
This commit is contained in:
parent
2ee0e42668
commit
ac9db2a0b0
@ -201,7 +201,7 @@ namespace XNodeEditor {
|
||||
if (hasArrayData) {
|
||||
if (i < arraySize) {
|
||||
SerializedProperty itemData = arrayData.GetArrayElementAtIndex(i);
|
||||
if (itemData != null) EditorGUILayout.PropertyField(itemData, new GUIContent(ObjectNames.NicifyVariableName(fieldName) + " " + i));
|
||||
if (itemData != null) EditorGUILayout.PropertyField(itemData, new GUIContent(ObjectNames.NicifyVariableName(fieldName) + " " + i), true);
|
||||
else EditorGUILayout.LabelField("[Missing array data]");
|
||||
} else EditorGUILayout.LabelField("[Out of bounds]");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user