Skip to content

Commit

Permalink
Empty to match layer masks more consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
lyuma committed Jul 14, 2020
1 parent eec74d0 commit 9f5ae1b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Editor/LyumaAv3EditorSupport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ public static class LyumaAv3EditorSupport
{VRCAvatarDescriptor.AnimLayerType.TPose, "vrc_MusclesOnly"},
{VRCAvatarDescriptor.AnimLayerType.IKPose, "vrc_MusclesOnly"},
{VRCAvatarDescriptor.AnimLayerType.SpecialIK, "vrc_MusclesOnly"},
{VRCAvatarDescriptor.AnimLayerType.Base, "LyumaFullMask"},
{VRCAvatarDescriptor.AnimLayerType.Sitting, "LyumaFullMask"},
{VRCAvatarDescriptor.AnimLayerType.Additive, "LyumaFullMask"},
{VRCAvatarDescriptor.AnimLayerType.FX, "LyumaEmptyMask"},
{VRCAvatarDescriptor.AnimLayerType.Action,"vrc_MusclesOnly"},
{VRCAvatarDescriptor.AnimLayerType.Base, null},//"LyumaFullMask"},
{VRCAvatarDescriptor.AnimLayerType.Sitting, null},//"LyumaFullMask"},
{VRCAvatarDescriptor.AnimLayerType.Additive, null},//"LyumaFullMask"},
{VRCAvatarDescriptor.AnimLayerType.FX, "LyumaEmptyMask"}, // TODO
{VRCAvatarDescriptor.AnimLayerType.Action, null},//"vrc_MusclesOnly"},
{VRCAvatarDescriptor.AnimLayerType.Gesture, "vrc_HandsOnly"},
};

Expand Down
2 changes: 1 addition & 1 deletion Scripts/LyumaAv3Runtime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ void Update()
}
if (Seated != PrevSeated && sittingIndex >= 0)
{
playableBlendingStates[sittingIndex].StartBlend(playableMixer.GetInputWeight(sittingIndex), Seated ? 1f : 0f, 0.5f);
playableBlendingStates[sittingIndex].StartBlend(playableMixer.GetInputWeight(sittingIndex), Seated ? 1f : 0f, 0.25f);
PrevSeated = Seated;
}
if (VisemeI != Viseme) {
Expand Down

0 comments on commit 9f5ae1b

Please sign in to comment.