From 6c1f4faff2602a6d834d8f641a8a39783bbb9465 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Thu, 20 Jul 2023 19:26:10 +0200 Subject: animationmgr: avoid looping over all avars in favor of only active ones --- src/managers/AnimationManager.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/managers/AnimationManager.hpp') diff --git a/src/managers/AnimationManager.hpp b/src/managers/AnimationManager.hpp index db7055c8..6d2830fd 100644 --- a/src/managers/AnimationManager.hpp +++ b/src/managers/AnimationManager.hpp @@ -25,7 +25,8 @@ class CAnimationManager { std::unordered_map getAllBeziers(); - std::list m_lAnimatedVariables; + std::vector m_vAnimatedVariables; + std::vector m_vActiveAnimatedVariables; wl_event_source* m_pAnimationTick; -- cgit v1.2.3