Fix 0.9 bfres savig with material animations

This commit is contained in:
KillzXGaming 2019-06-28 18:02:11 -04:00
parent ade73e6560
commit f776b46138
7 changed files with 3 additions and 1 deletions

Binary file not shown.

View file

@ -255,6 +255,7 @@ namespace FirstPlugin
BinaryTexFile = new BntxFile(stream);
Text = BinaryTexFile.Name;
foreach (Texture tex in BinaryTexFile.Textures)
{
TextureData texData = new TextureData(tex, BinaryTexFile);

View file

@ -297,9 +297,10 @@ namespace Switch_Toolbox.Library
var rootText = root.Text;
var rootTextLength = rootText.Length;
var nodeFiles = archiveFile.Files;
int I = 0;
foreach (var node in archiveFile.Files)
foreach (var node in archiveFile.Files)
{
if (!node.CanLoadFile)
continue;