Allow saving for 0.9. Note this will crash if it has animations

This commit is contained in:
KillzXGaming 2019-06-26 18:30:10 -04:00
parent e88d42b4ce
commit 3edbaece3f
8 changed files with 0 additions and 2 deletions

Binary file not shown.

View file

@ -1337,8 +1337,6 @@ namespace FirstPlugin
private void SaveSwitch(MemoryStream mem)
{
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.SkeletalAnims.Clear();