mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2025-01-09 23:03:27 +08:00
Removed unnecessary anims updating during playback
This commit is contained in:
parent
9c903c677b
commit
5eaea931bf
@ -456,11 +456,6 @@ namespace CodeWalker.Rendering
|
|||||||
private void UpdateAnim(ClipMapEntry cme)
|
private void UpdateAnim(ClipMapEntry cme)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (cme.Next != null)
|
|
||||||
{
|
|
||||||
UpdateAnim(cme.Next);
|
|
||||||
}
|
|
||||||
|
|
||||||
var clipanim = cme.Clip as ClipAnimation;
|
var clipanim = cme.Clip as ClipAnimation;
|
||||||
if (clipanim?.Animation != null)
|
if (clipanim?.Animation != null)
|
||||||
{
|
{
|
||||||
@ -632,10 +627,6 @@ namespace CodeWalker.Rendering
|
|||||||
}
|
}
|
||||||
private void UpdateAnimUV(ClipMapEntry cme, RenderableGeometry rgeom = null)
|
private void UpdateAnimUV(ClipMapEntry cme, RenderableGeometry rgeom = null)
|
||||||
{
|
{
|
||||||
if (cme.Next != null)
|
|
||||||
{
|
|
||||||
UpdateAnimUV(cme.Next, rgeom);
|
|
||||||
}
|
|
||||||
|
|
||||||
var clipanim = cme.Clip as ClipAnimation;
|
var clipanim = cme.Clip as ClipAnimation;
|
||||||
if (clipanim?.Animation != null)
|
if (clipanim?.Animation != null)
|
||||||
|
Loading…
Reference in New Issue
Block a user