diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2019-04-08 17:13:30 +0200 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2019-04-08 17:13:30 +0200 |
commit | dafd7768ab08f212c8b86756def4201c381cbcbc (patch) | |
tree | 80f5e5ae313d8b2eb473555d24a2fb10e324093b | |
parent | a994db62df731879bb9c54e65b4ddca32396e9d3 (diff) |
Fixed uninitialized xfade in AnimationNodeTransition
-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 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++) { |