Skip to content

Commit

Permalink
Merge pull request #49 from suzuryg/fix/blink-reset-animation
Browse files Browse the repository at this point in the history
fix: Fix blink reset animation not generated when blink blendshape prefix is "vrc."
  • Loading branch information
suzuryg authored Oct 16, 2023
2 parents 15d6217 + f967d9d commit 55b4ae8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Packages/jp.suzuryg.face-emo/Editor/Detail/AV3/AV3Utility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,6 @@ public static Dictionary<BlendShape, float> GetBlendShapeValues(SkinnedMeshRende
var blendShape = new BlendShape(path: transformPath, name: name);

var excluded = toBeExcluded.Contains(blendShape);
if (excludeLipSync && blendShape.Name.StartsWith("vrc.")) { excluded = true; }

if (!excluded)
{
var weight = skinnedMeshRenderer.GetBlendShapeWeight(i);
Expand Down

0 comments on commit 55b4ae8

Please sign in to comment.