From e8d008990181c84752cfb4d8b5850826b1f699d6 Mon Sep 17 00:00:00 2001 From: Kongfa Waroros Date: Wed, 17 Mar 2021 18:33:29 +0700 Subject: [PATCH] Check AnimationNode to update properties (cherry picked from commit 981ca8045f4710714ecc9b752d2f519dfc71d9e0) --- scene/animation/animation_tree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/animation/animation_tree.cpp b/scene/animation/animation_tree.cpp index 6277db3c5cb..db18404a621 100644 --- a/scene/animation/animation_tree.cpp +++ b/scene/animation/animation_tree.cpp @@ -1403,7 +1403,7 @@ void AnimationTree::_tree_changed() { } void AnimationTree::_update_properties_for_node(const String &p_base_path, Ref node) { - + ERR_FAIL_COND(node.is_null()); if (!property_parent_map.has(p_base_path)) { property_parent_map[p_base_path] = HashMap(); }