Update the editor properly if a material animation is replaced

This commit is contained in:
KillzXGaming 2019-08-29 16:37:04 -04:00
parent 668265dd13
commit 6076afa9d6
2 changed files with 4 additions and 0 deletions

View file

@ -747,6 +747,8 @@ namespace Bfres.Structs
MaterialAnim.Name = Text + GetTypeExtension();
LoadAnim(MaterialAnim);
}
UpdateEditor();
}
}
}

View file

@ -96,6 +96,8 @@ namespace Bfres.Structs
ShaderParamAnim.Name = Text;
LoadAnim(ShaderParamAnim, AnimationType.Color);
}
UpdateEditor();
}
public void SaveAnimData()