Check file path instead
This commit is contained in:
parent
78da8c0b28
commit
da87ed0d2c
@ -951,7 +951,7 @@ namespace FirstPlugin
|
||||
public void Save(Stream stream)
|
||||
{
|
||||
//Force mesh codec compression on save
|
||||
if (this.FileName.EndsWith(".mc"))
|
||||
if (this.FilePath.EndsWith(".mc"))
|
||||
this.IFileInfo.FileCompression = new MeshCodecFormat();
|
||||
|
||||
var Models = GetModels();
|
||||
|
Loading…
x
Reference in New Issue
Block a user