diff --git a/Editor/FixupPasses/FixupExpressionsMenuPass.cs b/Editor/FixupPasses/FixupExpressionsMenuPass.cs index 4f36ec2b..a7a08e2b 100644 --- a/Editor/FixupPasses/FixupExpressionsMenuPass.cs +++ b/Editor/FixupPasses/FixupExpressionsMenuPass.cs @@ -93,6 +93,11 @@ namespace nadena.dev.modular_avatar.core.editor control.icon = newIcon; } + if (control.subMenu != null) + { + VisitMenu(control.subMenu); + } + if (control.labels != null) { for (int i = 0; i < control.labels.Length; i++) @@ -163,4 +168,4 @@ namespace nadena.dev.modular_avatar.core.editor } } -#endif \ No newline at end of file +#endif