summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-04-09 16:46:51 +0200
committerGitHub <noreply@github.com>2019-04-09 16:46:51 +0200
commit8fb54ef19b08e3f3263dd18d847b4c5c0c65fe0d (patch)
treee238250471f3d41bd3a47882bb5855968338cded /scene
parentbde77dc0b4661741b58e88861476d99d41296ff5 (diff)
parentdafd7768ab08f212c8b86756def4201c381cbcbc (diff)
Merge pull request #27814 from nekomatata/transition-node-xfade
Fixed uninitialized xfade in AnimationNodeTransition
Diffstat (limited to 'scene')
-rw-r--r--scene/animation/animation_blend_tree.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/animation/animation_blend_tree.cpp b/scene/animation/animation_blend_tree.cpp
index 0daa574f72..11ce866690 100644
--- a/scene/animation/animation_blend_tree.cpp
+++ b/scene/animation/animation_blend_tree.cpp
@@ -857,6 +857,7 @@ AnimationNodeTransition::AnimationNodeTransition() {
time = "time";
current = "current";
prev_current = "prev_current";
+ xfade = 0.0;
enabled_inputs = 0;
for (int i = 0; i < MAX_INPUTS; i++) {