fix: NullReferenceException in some cases when viewing MA Menu Item controls

Closes: #1383
This commit is contained in:
bd_ 2024-12-02 17:35:43 -08:00
parent f7dc99be7d
commit 7967fcf121

View File

@ -269,8 +269,8 @@ namespace nadena.dev.modular_avatar.core.editor
EditorGUILayout.BeginVertical();
EditorGUILayout.BeginHorizontal();
if (_parameterReference == null)
if (_prop_label == null)
{
EditorGUI.BeginChangeCheck();
if (_obj != null && _obj.isEditingMultipleObjects)