1
0
mirror of synced 2024-12-01 02:27:22 +01:00

Some flag fixes

This commit is contained in:
KillzXGaming 2019-06-23 09:17:49 -04:00
parent bdccb83cc4
commit dfd31c9fae
5 changed files with 6 additions and 6 deletions

Binary file not shown.

View File

@ -698,15 +698,15 @@ namespace Bfres.Structs
{ {
if (BoneU != null) if (BoneU != null)
{ {
BoneU.TransformRotateZero = (GetRotation() == Quaternion.Identity); BoneU.TransformRotateZero = BoneU.Rotation == Syroot.Maths.Vector4F.Zero;
BoneU.TransformScaleOne = (GetScale() == Vector3.Zero); BoneU.TransformScaleOne = BoneU.Scale == Syroot.Maths.Vector3F.One;
BoneU.TransformTranslateZero = (GetPosition() == Vector3.Zero); BoneU.TransformTranslateZero = BoneU.Position == Syroot.Maths.Vector3F.Zero;
} }
else else
{ {
Bone.TransformRotateZero = (GetRotation() == Quaternion.FromEulerAngles(0,0,0)); Bone.TransformRotateZero = BoneU.Rotation == Syroot.Maths.Vector4F.Zero;
Bone.TransformScaleOne = (GetScale() == Vector3.One); Bone.TransformScaleOne = BoneU.Scale == Syroot.Maths.Vector3F.One;
Bone.TransformTranslateZero = (GetPosition() == Vector3.Zero); Bone.TransformTranslateZero = BoneU.Position == Syroot.Maths.Vector3F.Zero;
} }
} }