1
0
mirror of synced 2025-01-19 01:14:08 +01:00

Fix export filter for animations

This commit is contained in:
KillzXGaming 2019-05-24 17:47:13 -04:00
parent 2c590f9744
commit 10c9973527
7 changed files with 3 additions and 2 deletions

Binary file not shown.

View File

@ -104,7 +104,7 @@ namespace Bfres.Structs
((BFRES)Parent.Parent.Parent).LoadEditors(this);
}
public override string ExportFilter => FileFilters.GetFilter(typeof(FSKA));
public override string ExportFilter => FileFilters.GetFilter(typeof(FSKA), true);
public override string ReplaceFilter => FileFilters.GetFilter(typeof(FSKA));
public override void Export(string FileName)

View File

@ -21,7 +21,7 @@ namespace FirstPlugin
public static string BONE = GetFilter(".bfbon");
public static string FMAT = GetFilter(".bfmat");
public static string FSKA_EXPORT = GetFilter(".bfska", ".seanim", ".smd");
public static string FSKA_EXPORT = GetFilter(".bfska", ".seanim", ".smd", ".chr0");
public static string FSKA_REPLACE = GetFilter(".bfska", ".chr0");
public static string FMAA = GetFilter(".bfmaa", ".gif");
@ -121,6 +121,7 @@ namespace FirstPlugin
case ".smd": filters.Add(ext, "Source Model Animation"); break;
case ".bftex": filters.Add(ext, "Binary Texture"); break;
case ".astc": filters.Add(ext, "Adaptable Scalable Texture Compression"); break;
case ".chr0": filters.Add(ext, "CHR0 Animation"); break;
default:
filters.Add(ext, ""); break;
}