fix integration boneWeights

This commit is contained in:
ousttrue 2023-12-11 15:21:42 +09:00
parent 6204703f10
commit 42356ef69d

View File

@ -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();
}