1
0
mirror of synced 2024-11-14 11:07:39 +01:00

Another fix to prevent name issues

This commit is contained in:
KillzXGaming 2019-05-25 15:12:51 -04:00
parent 6d03b4da88
commit e653ed1044
8 changed files with 4 additions and 2 deletions

Binary file not shown.

View File

@ -57,25 +57,27 @@ namespace Bfres.Structs
if (ext == ".bfshu")
{
ShaderParamAnim.Import(FileName, resFile, ShaderParamAnimType.ShaderParameter);
ShaderParamAnim.Name = Text;
LoadAnim(ShaderParamAnim, AnimationType.ShaderParam);
}
if (ext == ".bfcsh")
{
ShaderParamAnim.Import(FileName, resFile, ShaderParamAnimType.Color);
ShaderParamAnim.Name = Text;
LoadAnim(ShaderParamAnim, AnimationType.Color);
}
if (ext == ".bftsh")
{
ShaderParamAnim.Import(FileName, resFile, ShaderParamAnimType.TextureSRT);
ShaderParamAnim.Name = Text;
LoadAnim(ShaderParamAnim, AnimationType.TexturePattern);
}
if (ext == ".clr0")
{
ShaderParamAnim = BrawlboxHelper.FSHUConverter.Clr02Fshu(FileName);
ShaderParamAnim.Name = Text;
LoadAnim(ShaderParamAnim, AnimationType.Color);
}
ShaderParamAnim.Name = Text;
}
public override void Export(string FileName)