diff --git a/.vs/Switch_Toolbox/v15/.suo b/.vs/Switch_Toolbox/v15/.suo index bbbc98a0..93d9a528 100644 Binary files a/.vs/Switch_Toolbox/v15/.suo and b/.vs/Switch_Toolbox/v15/.suo differ diff --git a/.vs/Switch_Toolbox/v15/Server/sqlite3/storage.ide b/.vs/Switch_Toolbox/v15/Server/sqlite3/storage.ide index 98c4cbf3..8b2a4d0a 100644 Binary files a/.vs/Switch_Toolbox/v15/Server/sqlite3/storage.ide and b/.vs/Switch_Toolbox/v15/Server/sqlite3/storage.ide differ diff --git a/.vs/Switch_Toolbox/v15/Server/sqlite3/storage.ide-wal b/.vs/Switch_Toolbox/v15/Server/sqlite3/storage.ide-wal index a9e418dd..b3ba4123 100644 Binary files a/.vs/Switch_Toolbox/v15/Server/sqlite3/storage.ide-wal and b/.vs/Switch_Toolbox/v15/Server/sqlite3/storage.ide-wal differ diff --git a/Switch_FileFormatsMain/FileFormats/BFRES/Bfres Structs/SubFiles/FMDL/FSKL.cs b/Switch_FileFormatsMain/FileFormats/BFRES/Bfres Structs/SubFiles/FMDL/FSKL.cs index 54fe82c7..5254b3cc 100644 --- a/Switch_FileFormatsMain/FileFormats/BFRES/Bfres Structs/SubFiles/FMDL/FSKL.cs +++ b/Switch_FileFormatsMain/FileFormats/BFRES/Bfres Structs/SubFiles/FMDL/FSKL.cs @@ -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; } } diff --git a/Switch_FileFormatsMain/obj/Release/DesignTimeResolveAssemblyReferences.cache b/Switch_FileFormatsMain/obj/Release/DesignTimeResolveAssemblyReferences.cache index 5ca1a1ab..325054d2 100644 Binary files a/Switch_FileFormatsMain/obj/Release/DesignTimeResolveAssemblyReferences.cache and b/Switch_FileFormatsMain/obj/Release/DesignTimeResolveAssemblyReferences.cache differ