mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-23 13:03:15 +00:00
Some flag fixes
This commit is contained in:
parent
bdccb83cc4
commit
dfd31c9fae
5 changed files with 6 additions and 6 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -698,15 +698,15 @@ namespace Bfres.Structs
|
|||
{
|
||||
if (BoneU != null)
|
||||
{
|
||||
BoneU.TransformRotateZero = (GetRotation() == Quaternion.Identity);
|
||||
BoneU.TransformScaleOne = (GetScale() == Vector3.Zero);
|
||||
BoneU.TransformTranslateZero = (GetPosition() == Vector3.Zero);
|
||||
BoneU.TransformRotateZero = BoneU.Rotation == Syroot.Maths.Vector4F.Zero;
|
||||
BoneU.TransformScaleOne = BoneU.Scale == Syroot.Maths.Vector3F.One;
|
||||
BoneU.TransformTranslateZero = BoneU.Position == Syroot.Maths.Vector3F.Zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
Bone.TransformRotateZero = (GetRotation() == Quaternion.FromEulerAngles(0,0,0));
|
||||
Bone.TransformScaleOne = (GetScale() == Vector3.One);
|
||||
Bone.TransformTranslateZero = (GetPosition() == Vector3.Zero);
|
||||
Bone.TransformRotateZero = BoneU.Rotation == Syroot.Maths.Vector4F.Zero;
|
||||
Bone.TransformScaleOne = BoneU.Scale == Syroot.Maths.Vector3F.One;
|
||||
Bone.TransformTranslateZero = BoneU.Position == Syroot.Maths.Vector3F.Zero;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue