mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-07-18 03:24:15 -04:00
Display animation count when exporting fbx models
This commit is contained in:
@ -785,8 +785,12 @@ namespace AssetStudio
|
|||||||
|
|
||||||
private void ConvertAnimations()
|
private void ConvertAnimations()
|
||||||
{
|
{
|
||||||
foreach (var animationClip in animationClipUniqArray)
|
var totalCount = animationClipUniqArray.Length;
|
||||||
|
Logger.Info($"Trying to convert {totalCount} animation(s)...");
|
||||||
|
|
||||||
|
for (var k = 0; k < totalCount; k++)
|
||||||
{
|
{
|
||||||
|
var animationClip = animationClipUniqArray[k];
|
||||||
var iAnim = new ImportedKeyframedAnimation();
|
var iAnim = new ImportedKeyframedAnimation();
|
||||||
var name = animationClip.m_Name;
|
var name = animationClip.m_Name;
|
||||||
if (AnimationList.Exists(x => x.Name == name))
|
if (AnimationList.Exists(x => x.Name == name))
|
||||||
@ -933,6 +937,7 @@ namespace AssetStudio
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Console.Write($"Converted [{k+1}/{totalCount}] animations\r");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user