From 96c302e3a8a0a10e00f5eab1eff5ac555ed424b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tur=C3=A1nszki=20J=C3=A1nos?= Date: Sat, 26 Jul 2025 12:21:05 +0200 Subject: [PATCH] paused anim timer scrolling fix --- WickedEngine/wiScene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WickedEngine/wiScene.cpp b/WickedEngine/wiScene.cpp index 34977071a..878c6bf0c 100644 --- a/WickedEngine/wiScene.cpp +++ b/WickedEngine/wiScene.cpp @@ -1922,7 +1922,7 @@ namespace wi::scene for (size_t animation_index = 0; animation_index < animation_queue.animations.size(); ++animation_index) { AnimationComponent& animation = *animation_queue.animations[animation_index]; - if (!animation.IsPlaying()) + if (!animation.IsPlaying() && animation.last_update_time == animation.timer) // The timer check is for scrolling paused animation timer, it should still update anim even if not playing! continue; animation.last_update_time = animation.timer;