mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-23 13:03:15 +00:00
Fix crash from importing bones
This commit is contained in:
parent
dfd31c9fae
commit
e9d810704e
4 changed files with 3 additions and 3 deletions
Binary file not shown.
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue