From a028160522d7417c0b6468ba98af99805c402a66 Mon Sep 17 00:00:00 2001 From: PouleyKetchoupp Date: Mon, 8 Apr 2019 17:13:30 +0200 Subject: [PATCH] Fixed uninitialized xfade in AnimationNodeTransition (cherry picked from commit dafd7768ab08f212c8b86756def4201c381cbcbc) --- scene/animation/animation_blend_tree.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/animation/animation_blend_tree.cpp b/scene/animation/animation_blend_tree.cpp index 0daa574f727..11ce8666908 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++) {