summaryrefslogtreecommitdiff
path: root/scene/animation
diff options
context:
space:
mode:
authorRobin Hübner <profan@prfn.se>2019-08-27 17:13:08 +0200
committerRobin Hübner <profan@prfn.se>2019-08-27 17:13:08 +0200
commit4817595c0eecf6c63ff338628f56acd5ddde6f25 (patch)
tree756d68da917d15289959b9b49d1300e4cb2aca4a /scene/animation
parent1b9ece832af030e45551b696b35a2ca628787efd (diff)
fix otherwise unitialized variables, found in #31694
Diffstat (limited to 'scene/animation')
-rw-r--r--scene/animation/animation_tree.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/animation/animation_tree.cpp b/scene/animation/animation_tree.cpp
index 6745b57cff..bb7c400cfe 100644
--- a/scene/animation/animation_tree.cpp
+++ b/scene/animation/animation_tree.cpp
@@ -1412,6 +1412,7 @@ void AnimationTree::_update_properties_for_node(const String &p_base_path, Ref<A
Vector<Activity> activity;
for (int i = 0; i < node->get_input_count(); i++) {
Activity a;
+ a.activity = 0;
a.last_pass = 0;
activity.push_back(a);
}