Also toggle compression

This commit is contained in:
KillzXGaming 2023-06-14 20:13:13 -04:00
parent da87ed0d2c
commit 6826fa01cf

View file

@ -952,7 +952,10 @@ namespace FirstPlugin
{
//Force mesh codec compression on save
if (this.FilePath.EndsWith(".mc"))
{
this.IFileInfo.FileCompression = new MeshCodecFormat();
this.IFileInfo.FileIsCompressed = true;
}
var Models = GetModels();
if (Models != null && !IsParticlePrimitive)