1
0
mirror of synced 2024-09-24 03:28:21 +02:00

BFRES : Fix mesh importing placement being wrong from rigid indices.

This commit is contained in:
KillzXGaming 2021-07-25 15:40:21 -04:00
parent 3c2526bedc
commit efdce27d4e

View File

@ -1093,8 +1093,7 @@ namespace Bfres.Structs
}
else if (bone.RigidMatrixIndex != -1)
{
var index = Array.FindIndex(mdl.Skeleton.Node_Array, boneIndex => mdl.Skeleton.bones[boneIndex].Text == bn);
v.boneIds.Add(index);
v.boneIds.Add(bone.RigidMatrixIndex);
}
else if (bone.SmoothMatrixIndex != -1)
{