mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-10 07:04:36 +00:00
Force mesh codec save when .mc extension is used for bfres
This commit is contained in:
parent
e57bdfb704
commit
2e6c30bf1e
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue