From c91c604eaa66d2307d13655ce513392e3bae77d6 Mon Sep 17 00:00:00 2001 From: Nazarii Date: Tue, 14 Jan 2025 19:35:42 +0200 Subject: [PATCH] Use AHashMap for RBMap nodes and HashMap input_activity --- scene/animation/animation_blend_tree.h | 2 +- scene/animation/animation_tree.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scene/animation/animation_blend_tree.h b/scene/animation/animation_blend_tree.h index 36a391ebdbd..1b3d7f236e3 100644 --- a/scene/animation/animation_blend_tree.h +++ b/scene/animation/animation_blend_tree.h @@ -410,7 +410,7 @@ class AnimationNodeBlendTree : public AnimationRootNode { Vector connections; }; - RBMap nodes; + AHashMap nodes; Vector2 graph_offset; diff --git a/scene/animation/animation_tree.h b/scene/animation/animation_tree.h index 5ac24b49857..d5b1d4ea460 100644 --- a/scene/animation/animation_tree.h +++ b/scene/animation/animation_tree.h @@ -306,8 +306,8 @@ private: uint64_t last_pass = 0; real_t activity = 0.0; }; - mutable HashMap> input_activity_map; - mutable HashMap *> input_activity_map_get; + mutable AHashMap> input_activity_map; + mutable AHashMap *> input_activity_map_get; NodePath animation_player;