1
0
mirror of synced 2025-01-31 12:23:52 +01:00

Fix param types showing in yaml

This commit is contained in:
KillzXGaming 2019-11-25 18:04:53 -05:00
parent 674e1305ad
commit 1f558dde15
2 changed files with 7 additions and 10 deletions

View File

@ -134,7 +134,7 @@ namespace Bfres.Structs
}
else if (ext == ".yaml")
{
var yaml = YamlFmaa.ToYaml(FileName, BfresPlatformConverter.FSHUConvertWiiUToSwitch(ShaderParamAnim), AnimationType.ShaderParam);
var yaml = YamlFmaa.ToYaml(FileName, BfresPlatformConverter.FSHUConvertWiiUToSwitch(ShaderParamAnim), this.AnimType);
System.IO.File.WriteAllText(FileName, yaml);
}
else if (ext == ".clr0")

View File

@ -154,15 +154,12 @@ namespace FirstPlugin
{
switch (offset)
{
case 0: return "Scale X";
case 4: return "Scale Y";
case 8: return "Scale Z";
case 12: return "Rotate X";
case 16: return "Rotate Y";
case 20: return "Rotate Z";
case 24: return "Translate X";
case 28: return "Translate Y";
case 32: return "Translate Z";
case 0: return "Mode";
case 4: return "Scale X";
case 8: return "Scale Y";
case 12: return "Rotate";
case 16: return "Translate X";
case 20: return "Translate Y";
default:
return offset.ToString();
}