mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-26 12:50:40 -05:00
fix integration boneWeights
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user