Only open texture pattern viewer in FMAA if the type is a texture pattern

This commit is contained in:
KillzXGaming 2020-05-15 19:09:14 -04:00
parent cf9d673537
commit 06b6f5b2ab

View file

@ -50,6 +50,9 @@ namespace Bfres.Structs
public override void OnDoubleMouseClick(TreeView treeview)
{
if (this.AnimType != AnimationType.TexturePattern)
return;
var ParentFolder = this.Parent;
BfresTexturePatternEditor form = new BfresTexturePatternEditor(ParentFolder.Nodes);