diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-07-02 15:08:35 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2018-07-02 15:08:35 -0300 |
commit | 2dc738ce2733757631a4ccf413a92411c4400246 (patch) | |
tree | de7d355ea5a2e90e2dbebd6044517cf2b63b090a /scene/animation | |
parent | ecee0c92ff86911fa50e745b4ab98196e0d2afe4 (diff) | |
download | redot-engine-2dc738ce2733757631a4ccf413a92411c4400246.tar.gz |
-Fixes to how hashing happened, now StringName and NodePath use default hasher, this was leading to some severe slowdown in scenarios
-Fixes to some duplication scenarios for instanced scenes
Diffstat (limited to 'scene/animation')
-rw-r--r-- | scene/animation/animation_blend_tree.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/animation/animation_blend_tree.cpp b/scene/animation/animation_blend_tree.cpp index 946a1246ff..6dcd5ca8ea 100644 --- a/scene/animation/animation_blend_tree.cpp +++ b/scene/animation/animation_blend_tree.cpp @@ -1036,6 +1036,7 @@ bool AnimationNodeBlendTree::_set(const StringName &p_name, const Variant &p_val String name = p_name; if (name.begins_with("nodes/")) { + String node_name = name.get_slicec('/', 1); String what = name.get_slicec('/', 2); |