Fix importing new texture pattern animations
This commit is contained in:
parent
2195fc4d03
commit
f87264b656
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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();
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user