mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-16 01:37:55 +00:00
Another fix to prevent name issues
This commit is contained in:
parent
6d03b4da88
commit
e653ed1044
8 changed files with 4 additions and 2 deletions
Binary file not shown.
Binary file not shown.
|
@ -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)
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue