mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-02-02 11:42:57 +08:00
chore: fix off-by-one error in ActionGenerator
This commit is contained in:
parent
e8366cd84a
commit
f584f38303
@ -89,7 +89,7 @@ namespace nadena.dev.modular_avatar.core.editor
|
||||
layerList.Insert(0, GenerateBlendshapeBaseLayer(avatar));
|
||||
rootBlendTree.defaultWeight = 1;
|
||||
layerList.Insert(0, rootBlendTree);
|
||||
layerList[2].defaultWeight = 1;
|
||||
layerList[1].defaultWeight = 1;
|
||||
controller.layers = layerList.ToArray();
|
||||
|
||||
foreach (var action in avatar.GetComponentsInChildren<MenuAction>(true))
|
||||
|
Loading…
Reference in New Issue
Block a user