BFRES : Fix mesh importing placement being wrong from rigid indices.
This commit is contained in:
parent
3c2526bedc
commit
efdce27d4e
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user