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

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