[Core] fix issue with unchecked collect animation option.

This commit is contained in:
Razmoth
2023-07-22 18:47:41 +04:00
parent acbb7e78d5
commit 3cf21c305a

View File

@@ -91,12 +91,15 @@ namespace AssetStudio
CollectAnimationClip(m_Animator); CollectAnimationClip(m_Animator);
} }
else else
{
if (animationList != null)
{ {
foreach (var animationClip in animationList) foreach (var animationClip in animationList)
{ {
animationClipHashSet.Add(animationClip); animationClipHashSet.Add(animationClip);
} }
} }
}
ConvertAnimations(); ConvertAnimations();
} }