diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-07-20 19:26:10 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-07-20 19:26:10 +0200 |
| commit | 6c1f4faff2602a6d834d8f641a8a39783bbb9465 (patch) | |
| tree | b7c662026ce9b584baf4a2d1d65d02464dd49d79 /src/managers/AnimationManager.hpp | |
| parent | 7940f779e9dd670157932ce17a872c14747ad490 (diff) | |
animationmgr: avoid looping over all avars in favor of only active ones
Diffstat (limited to 'src/managers/AnimationManager.hpp')
| -rw-r--r-- | src/managers/AnimationManager.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<std::string, CBezierCurve> getAllBeziers(); - std::list<CAnimatedVariable*> m_lAnimatedVariables; + std::vector<CAnimatedVariable*> m_vAnimatedVariables; + std::vector<CAnimatedVariable*> m_vActiveAnimatedVariables; wl_event_source* m_pAnimationTick; |
