1
0
mirror of synced 2024-11-12 02:00:50 +01:00

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();