Some flag fixes
This commit is contained in:
parent
bdccb83cc4
commit
dfd31c9fae
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user