mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-13 22:09:53 -05:00
fix integration boneWeights
This commit is contained in:
parent
6204703f10
commit
42356ef69d
|
|
@ -341,7 +341,7 @@ namespace UniGLTF.MeshUtility
|
|||
{
|
||||
mesh.tangents = Tangents.ToArray();
|
||||
}
|
||||
if (BoneWeights != null && Tangents.Count == Positions.Count)
|
||||
if (BoneWeights != null && BoneWeights.Count == Positions.Count)
|
||||
{
|
||||
mesh.boneWeights = BoneWeights.ToArray();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user