From 6826fa01cf65312b4359e9df8c3bc3405f6da198 Mon Sep 17 00:00:00 2001 From: KillzXGaming Date: Wed, 14 Jun 2023 20:13:13 -0400 Subject: [PATCH] Also toggle compression --- File_Format_Library/FileFormats/BFRES/BFRES.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/File_Format_Library/FileFormats/BFRES/BFRES.cs b/File_Format_Library/FileFormats/BFRES/BFRES.cs index da827a1c..8b15465e 100644 --- a/File_Format_Library/FileFormats/BFRES/BFRES.cs +++ b/File_Format_Library/FileFormats/BFRES/BFRES.cs @@ -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)