mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-20 21:40:45 +08:00
Removed unnecessary anims updating during playback
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user