Throw error if 0.9 bfres are saved
This commit is contained in:
parent
1444594fd1
commit
d228920614
Binary file not shown.
@ -1337,6 +1337,8 @@ 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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user