Fix crash from importing bones

This commit is contained in:
KillzXGaming 2019-06-23 09:19:34 -04:00
parent dfd31c9fae
commit e9d810704e
4 changed files with 3 additions and 3 deletions

Binary file not shown.

View file

@ -704,9 +704,9 @@ namespace Bfres.Structs
}
else
{
Bone.TransformRotateZero = BoneU.Rotation == Syroot.Maths.Vector4F.Zero;
Bone.TransformScaleOne = BoneU.Scale == Syroot.Maths.Vector3F.One;
Bone.TransformTranslateZero = BoneU.Position == Syroot.Maths.Vector3F.Zero;
Bone.TransformRotateZero = Bone.Rotation == Syroot.Maths.Vector4F.Zero;
Bone.TransformScaleOne = Bone.Scale == Syroot.Maths.Vector3F.One;
Bone.TransformTranslateZero = Bone.Position == Syroot.Maths.Vector3F.Zero;
}
}