- [Core] address issue with some AnimationClip.

This commit is contained in:
Razmoth
2023-09-26 00:42:26 +04:00
parent c9c0ec0d8e
commit 27a7de1fe0
5 changed files with 11 additions and 1 deletions

View File

@@ -1292,6 +1292,8 @@ namespace AssetStudioGUI
private void PreviewAnimationClip(AnimationClip clip)
{
var str = clip.Convert();
if (string.IsNullOrEmpty(str))
str = "Legacy animation is not supported";
PreviewText(str.Replace("\n", "\r\n"));
}