From 7967fcf121c7338a5bac3e1a128300bfc50d59f7 Mon Sep 17 00:00:00 2001 From: bd_ Date: Mon, 2 Dec 2024 17:35:43 -0800 Subject: [PATCH] fix: NullReferenceException in some cases when viewing MA Menu Item controls Closes: #1383 --- Editor/Inspector/Menu/MenuItemGUI.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Editor/Inspector/Menu/MenuItemGUI.cs b/Editor/Inspector/Menu/MenuItemGUI.cs index bf3cfccd..7d8a036a 100644 --- a/Editor/Inspector/Menu/MenuItemGUI.cs +++ b/Editor/Inspector/Menu/MenuItemGUI.cs @@ -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)