BFRES : Save .mc based on gpu flags to prevent on animations

This commit is contained in:
KillzXGaming 2023-06-29 20:49:49 -04:00
parent 75974ef479
commit 765c09c8f1

View file

@ -811,7 +811,7 @@ namespace FirstPlugin
var externalFlags = MeshCodec.GetExternalFlags(stream);
//External flags used
if (externalFlags != 0 || this.FileName.EndsWith(".mc"))
if (externalFlags.HasFlag(MeshCodec.ExternalFlags.HasExternalGPU) || this.FileName.EndsWith(".mc"))
{
//Ensure it uses mc compressor for save
this.IFileInfo.FileIsCompressed = true;