Force mesh codec save when .mc extension is used for bfres
This commit is contained in:
parent
e57bdfb704
commit
2e6c30bf1e
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user