mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2025-02-16 22:08:26 +00:00
Fix importing new texture pattern animations
This commit is contained in:
parent
2195fc4d03
commit
f87264b656
5 changed files with 16 additions and 4 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -522,10 +522,22 @@ namespace Bfres.Structs
|
|||
}
|
||||
break;
|
||||
case BRESGroupType.TexPatAnim:
|
||||
FTXP ftxp = new FTXP(new ResU.TexPatternAnim());
|
||||
ftxp.Text = ResourceName;
|
||||
ftxp.Replace(FileName, resFileU);
|
||||
Nodes.Add(ftxp);
|
||||
if (IsWiiU)
|
||||
{
|
||||
FTXP ftxp = new FTXP(new ResU.TexPatternAnim());
|
||||
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;
|
||||
case BRESGroupType.BoneVisAnim:
|
||||
FVIS fbnv = new FVIS();
|
||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue