Skip to content

Commit

Permalink
Merge pull request #2240 from ousttrue/fix/normalize_blendshape_with_…
Browse files Browse the repository at this point in the history
…root_scaling

hierarchy にスケーリングがある場合の blend shape の正規化修正
  • Loading branch information
ousttrue committed Feb 8, 2024
2 parents 2feda77 + c115ed8 commit ffcf209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/UniGLTF/Runtime/MeshUtility/MeshFreezer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ private static void CopyBlendShapes(SkinnedMeshRenderer src, Mesh srcMesh, Mesh
}
else
{
vertices[j] = m.MultiplyPoint(vertices[j]) - meshVertices[j];
vertices[j] = m.MultiplyPoint(vertices[j] - meshVertices[j]);
}
}

Expand Down

0 comments on commit ffcf209

Please sign in to comment.