From e07b18d87e04ca7674d7d196d7e9090dfb5fe1b5 Mon Sep 17 00:00:00 2001 From: bd_ Date: Tue, 3 Sep 2024 15:53:44 -0700 Subject: [PATCH] fix: Some MenuItemCoreGUI properties do not refresh when rendered in parent menu inspector (#1094) Closes: #1091 --- Editor/Inspector/Menu/MenuItemGUI.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Editor/Inspector/Menu/MenuItemGUI.cs b/Editor/Inspector/Menu/MenuItemGUI.cs index 3672c8e4..a92a6356 100644 --- a/Editor/Inspector/Menu/MenuItemGUI.cs +++ b/Editor/Inspector/Menu/MenuItemGUI.cs @@ -218,6 +218,8 @@ namespace nadena.dev.modular_avatar.core.editor public void DoGUI() { + if (_obj != null) _obj.UpdateIfRequiredOrScript(); + EditorGUILayout.BeginHorizontal(); EditorGUILayout.BeginVertical();