Fix param types showing in yaml
This commit is contained in:
parent
674e1305ad
commit
1f558dde15
@ -134,7 +134,7 @@ namespace Bfres.Structs
|
|||||||
}
|
}
|
||||||
else if (ext == ".yaml")
|
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);
|
System.IO.File.WriteAllText(FileName, yaml);
|
||||||
}
|
}
|
||||||
else if (ext == ".clr0")
|
else if (ext == ".clr0")
|
||||||
|
@ -154,15 +154,12 @@ namespace FirstPlugin
|
|||||||
{
|
{
|
||||||
switch (offset)
|
switch (offset)
|
||||||
{
|
{
|
||||||
case 0: return "Scale X";
|
case 0: return "Mode";
|
||||||
case 4: return "Scale Y";
|
case 4: return "Scale X";
|
||||||
case 8: return "Scale Z";
|
case 8: return "Scale Y";
|
||||||
case 12: return "Rotate X";
|
case 12: return "Rotate";
|
||||||
case 16: return "Rotate Y";
|
case 16: return "Translate X";
|
||||||
case 20: return "Rotate Z";
|
case 20: return "Translate Y";
|
||||||
case 24: return "Translate X";
|
|
||||||
case 28: return "Translate Y";
|
|
||||||
case 32: return "Translate Z";
|
|
||||||
default:
|
default:
|
||||||
return offset.ToString();
|
return offset.ToString();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user