Allow saving for 0.9. Note this will crash if it has animations
This commit is contained in:
parent
e88d42b4ce
commit
3edbaece3f
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1337,8 +1337,6 @@ namespace FirstPlugin
|
|||||||
private void SaveSwitch(MemoryStream mem)
|
private void SaveSwitch(MemoryStream mem)
|
||||||
{
|
{
|
||||||
var resFile = BFRESRender.ResFileNode.resFile;
|
var resFile = BFRESRender.ResFileNode.resFile;
|
||||||
if (resFile.VersionMajor2 == 9)
|
|
||||||
throw new NotImplementedException($"Bfres version does not support saving yet! {resFile.VersionFull}");
|
|
||||||
|
|
||||||
resFile.Models.Clear();
|
resFile.Models.Clear();
|
||||||
resFile.SkeletalAnims.Clear();
|
resFile.SkeletalAnims.Clear();
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user