Skip to content

Commit 2ef52af

Browse files
committed
Fixed Perfare#835
1 parent 05a41d2 commit 2ef52af

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

AssetStudioUtility/ModelConverter.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,10 @@ private void ConvertMeshRenderer(Transform m_Transform)
164164
{
165165
if (animation.TryGet(out var animationClip))
166166
{
167-
boundAnimationPathDic.Add(animationClip, GetTransformPath(m_Transform));
167+
if (!boundAnimationPathDic.ContainsKey(animationClip))
168+
{
169+
boundAnimationPathDic.Add(animationClip, GetTransformPath(m_Transform));
170+
}
168171
animationClipHashSet.Add(animationClip);
169172
}
170173
}

0 commit comments

Comments
 (0)