diff --git a/.vs/Switch_Toolbox/v15/.suo b/.vs/Switch_Toolbox/v15/.suo index d009e0e2..ea05e192 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 453e89e5..2e25ff64 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 77bbe5ee..6baca446 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/GUI/BFRES/BoneAnims/BoneAnimEditor.cs b/Switch_FileFormatsMain/GUI/BFRES/BoneAnims/BoneAnimEditor.cs index d6f5db3d..29c4c7c0 100644 --- a/Switch_FileFormatsMain/GUI/BFRES/BoneAnims/BoneAnimEditor.cs +++ b/Switch_FileFormatsMain/GUI/BFRES/BoneAnims/BoneAnimEditor.cs @@ -41,7 +41,7 @@ namespace FirstPlugin.Forms return; - for (int frame = 0; frame < fska.FrameCount; frame++) + for (int frame = 0; frame <= fska.FrameCount; frame++) { bool IsKeyed = (boneAnim.XPOS.HasAnimation() && boneAnim.XPOS.GetKeyFrame(frame).IsKeyed || boneAnim.YPOS.HasAnimation() && boneAnim.YPOS.GetKeyFrame(frame).IsKeyed || diff --git a/Switch_FileFormatsMain/GUI/BFRES/BoneVisualAnims/BoneVisualAnimEditor.cs b/Switch_FileFormatsMain/GUI/BFRES/BoneVisualAnims/BoneVisualAnimEditor.cs index da338cd3..6632c2eb 100644 --- a/Switch_FileFormatsMain/GUI/BFRES/BoneVisualAnims/BoneVisualAnimEditor.cs +++ b/Switch_FileFormatsMain/GUI/BFRES/BoneVisualAnims/BoneVisualAnimEditor.cs @@ -189,7 +189,7 @@ namespace FirstPlugin.Forms group.Scale = 0; group.Delta = 0; - for (int frame = 0; frame < activeFVIS.FrameCount; frame++) + for (int frame = 0; frame <= activeFVIS.FrameCount; frame++) { group.Keys.Add(new BooleanKeyFrame() { Frame = frame, InterType = InterpolationType.STEPBOOL, Visible = false }); } diff --git a/Switch_FileFormatsMain/GUI/BFRES/ParamAnim/AnimParamEditor.cs b/Switch_FileFormatsMain/GUI/BFRES/ParamAnim/AnimParamEditor.cs index e4f46669..d874c0f8 100644 --- a/Switch_FileFormatsMain/GUI/BFRES/ParamAnim/AnimParamEditor.cs +++ b/Switch_FileFormatsMain/GUI/BFRES/ParamAnim/AnimParamEditor.cs @@ -151,9 +151,8 @@ namespace FirstPlugin.Forms listViewCustom1.Columns.Add(BHeader); listViewCustom1.Columns.Add(AHeader); - for (int Frame = 0; Frame < anim.FrameCount; Frame++) + for (int Frame = 0; Frame <= anim.FrameCount; Frame++) { - var item1 = new ListViewItem($"{Frame}"); item1.SubItems.Add("Color"); item1.SubItems.Add("Alpha"); diff --git a/Switch_FileFormatsMain/GUI/BFRES/TexturePattern/BfresTexturePatternEditor.cs b/Switch_FileFormatsMain/GUI/BFRES/TexturePattern/BfresTexturePatternEditor.cs index 6fe4c5de..be4575f1 100644 --- a/Switch_FileFormatsMain/GUI/BFRES/TexturePattern/BfresTexturePatternEditor.cs +++ b/Switch_FileFormatsMain/GUI/BFRES/TexturePattern/BfresTexturePatternEditor.cs @@ -197,7 +197,7 @@ namespace FirstPlugin.Forms { IsLoading = true; - for (int Frame = 0; Frame < anim.FrameCount; Frame++) + for (int Frame = 0; Frame <= anim.FrameCount; Frame++) { //Constants always show so break after first frame if (activeSampler.group.Constant && Frame != 0) diff --git a/Switch_FileFormatsMain/obj/Release/DesignTimeResolveAssemblyReferences.cache b/Switch_FileFormatsMain/obj/Release/DesignTimeResolveAssemblyReferences.cache index 9cdc1956..d9821286 100644 Binary files a/Switch_FileFormatsMain/obj/Release/DesignTimeResolveAssemblyReferences.cache and b/Switch_FileFormatsMain/obj/Release/DesignTimeResolveAssemblyReferences.cache differ