mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-01 20:25:07 +08:00
空のSubMenuがあるとMenuInstallerの表示でエラーが発生するのを修正 (#282)
This commit is contained in:
parent
5d11e98956
commit
1901035fd8
@ -469,7 +469,7 @@ namespace nadena.dev.modular_avatar.core.editor
|
||||
_avatarMenus.Add(menu);
|
||||
foreach (var subMenu in menu.controls)
|
||||
{
|
||||
if (subMenu.type == VRCExpressionsMenu.Control.ControlType.SubMenu)
|
||||
if (subMenu.type == VRCExpressionsMenu.Control.ControlType.SubMenu && subMenu.subMenu != null)
|
||||
{
|
||||
queue.Enqueue(subMenu.subMenu);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user