1
0
mirror of synced 2025-01-19 09:17:30 +01:00

Fix importing new texture pattern animations

This commit is contained in:
KillzXGaming 2019-07-14 11:58:00 -04:00
parent 2195fc4d03
commit f87264b656
5 changed files with 16 additions and 4 deletions

Binary file not shown.

View File

@ -522,10 +522,22 @@ namespace Bfres.Structs
} }
break; break;
case BRESGroupType.TexPatAnim: case BRESGroupType.TexPatAnim:
FTXP ftxp = new FTXP(new ResU.TexPatternAnim()); if (IsWiiU)
ftxp.Text = ResourceName; {
ftxp.Replace(FileName, resFileU); FTXP ftxp = new FTXP(new ResU.TexPatternAnim());
Nodes.Add(ftxp); ftxp.Text = ResourceName;
ftxp.Replace(FileName, resFileU);
Nodes.Add(ftxp);
}
else
{
FMAA fmaaTxp = new FMAA(new ResNX.MaterialAnim(), MaterialAnimation.AnimationType.TexturePattern);
fmaaTxp.Text = ResourceName;
fmaaTxp.Replace(FileName);
Nodes.Add(fmaaTxp);
}
break; break;
case BRESGroupType.BoneVisAnim: case BRESGroupType.BoneVisAnim:
FVIS fbnv = new FVIS(); FVIS fbnv = new FVIS();