1
0
mirror of synced 2024-12-02 19:17:24 +01:00

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 //Force mesh codec compression on save
if (this.FilePath.EndsWith(".mc")) if (this.FilePath.EndsWith(".mc"))
{
this.IFileInfo.FileCompression = new MeshCodecFormat(); this.IFileInfo.FileCompression = new MeshCodecFormat();
this.IFileInfo.FileIsCompressed = true;
}
var Models = GetModels(); var Models = GetModels();
if (Models != null && !IsParticlePrimitive) if (Models != null && !IsParticlePrimitive)