Removed unnecessary anims updating during playback

This commit is contained in:
dexy
2019-11-19 01:53:24 +11:00
Unverified
parent 9c903c677b
commit 5eaea931bf
-9
View File
@@ -456,11 +456,6 @@ namespace CodeWalker.Rendering
private void UpdateAnim(ClipMapEntry cme)
{
if (cme.Next != null)
{
UpdateAnim(cme.Next);
}
var clipanim = cme.Clip as ClipAnimation;
if (clipanim?.Animation != null)
{
@@ -632,10 +627,6 @@ namespace CodeWalker.Rendering
}
private void UpdateAnimUV(ClipMapEntry cme, RenderableGeometry rgeom = null)
{
if (cme.Next != null)
{
UpdateAnimUV(cme.Next, rgeom);
}
var clipanim = cme.Clip as ClipAnimation;
if (clipanim?.Animation != null)