diff --git a/.vs/Switch_Toolbox/v15/.suo b/.vs/Switch_Toolbox/v15/.suo index e1324d47..8e0225c6 100644 Binary files a/.vs/Switch_Toolbox/v15/.suo and b/.vs/Switch_Toolbox/v15/.suo differ diff --git a/Switch_FileFormatsMain/FileFormats/BFRES/Bfres Structs/SubFiles/FTXP.cs b/Switch_FileFormatsMain/FileFormats/BFRES/Bfres Structs/SubFiles/FTXP.cs index 89539127..c5342a52 100644 --- a/Switch_FileFormatsMain/FileFormats/BFRES/Bfres Structs/SubFiles/FTXP.cs +++ b/Switch_FileFormatsMain/FileFormats/BFRES/Bfres Structs/SubFiles/FTXP.cs @@ -46,6 +46,8 @@ namespace Bfres.Structs TexPatternAnim = anim; FrameCount = anim.FrameCount; + Materials.Clear(); + Textures.Clear(); if (anim.TextureRefNames != null) { foreach (var tex in anim.TextureRefNames) diff --git a/Switch_FileFormatsMain/FileFormats/BFRES/PlatformConverter/BfresPlatformConverter.cs b/Switch_FileFormatsMain/FileFormats/BFRES/PlatformConverter/BfresPlatformConverter.cs index fda3e3cb..9be44df8 100644 --- a/Switch_FileFormatsMain/FileFormats/BFRES/PlatformConverter/BfresPlatformConverter.cs +++ b/Switch_FileFormatsMain/FileFormats/BFRES/PlatformConverter/BfresPlatformConverter.cs @@ -146,6 +146,9 @@ namespace FirstPlugin texPatternAnim.BindIndices = materialAnim.BindIndices; texPatternAnim.FrameCount = materialAnim.FrameCount; + if (materialAnim.Loop) + texPatternAnim.Flags |= ResU.TexPatternAnimFlags.Looping; + //Fill both lists. On save only one will be used depending on version foreach (var texName in materialAnim.TextureNames) { diff --git a/Switch_FileFormatsMain/obj/Release/DesignTimeResolveAssemblyReferences.cache b/Switch_FileFormatsMain/obj/Release/DesignTimeResolveAssemblyReferences.cache index aa90d44a..2407345e 100644 Binary files a/Switch_FileFormatsMain/obj/Release/DesignTimeResolveAssemblyReferences.cache and b/Switch_FileFormatsMain/obj/Release/DesignTimeResolveAssemblyReferences.cache differ