Bfres fix for ptcl
This commit is contained in:
parent
b106790a27
commit
793362909a
@ -951,7 +951,7 @@ namespace FirstPlugin
|
||||
public void Save(Stream stream)
|
||||
{
|
||||
//Force mesh codec compression on save
|
||||
if (this.FilePath.EndsWith(".mc"))
|
||||
if (this.FilePath != null && this.FilePath.EndsWith(".mc"))
|
||||
{
|
||||
this.IFileInfo.FileCompression = new MeshCodecFormat();
|
||||
this.IFileInfo.FileIsCompressed = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user