1
0
mirror of synced 2024-11-30 18:24:39 +01:00

Force mesh codec save when .mc extension is used for bfres

This commit is contained in:
KillzXGaming 2023-06-14 20:05:19 -04:00
parent e57bdfb704
commit 2e6c30bf1e

View File

@ -950,6 +950,10 @@ namespace FirstPlugin
public void Save(Stream stream)
{
//Force mesh codec compression on save
if (this.FileName.EndsWith(".mc"))
this.IFileInfo.FileCompression = new MeshCodecFormat();
var Models = GetModels();
if (Models != null && !IsParticlePrimitive)
{