Set the bone index for single binded meshes to what they're binded to
This commit is contained in:
parent
cbf2f7da90
commit
705837ab0c
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -937,6 +937,12 @@ namespace Bfres.Structs
|
||||
|
||||
shape.VertexSkinCount = obj.GetMaxSkinInfluenceCount();
|
||||
|
||||
if (shape.VertexSkinCount == 1)
|
||||
{
|
||||
int boneIndex = shape.BoneIndices[0];
|
||||
shape.BoneIndex = boneIndex;
|
||||
}
|
||||
|
||||
Console.WriteLine($"VertexSkinCount 1 {shape.VertexSkinCount}");
|
||||
|
||||
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user