diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-01-09 13:06:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-09 13:06:45 +0100 |
commit | 5f0e3b6849681e3a712fe2adc93b2c24c93ee4cd (patch) | |
tree | 247f522404739b31b91adf9c915dbcf993e26322 /scene | |
parent | 26606dd0fa5ae30fb8b053ef1c761ad3e6725201 (diff) | |
parent | 153a3146d07661791d10a13f585e080919684afb (diff) |
Merge pull request #24858 from volzhs/animation-transition
AnimationNodeTransition name begins from 0
Diffstat (limited to 'scene')
-rw-r--r-- | scene/animation/animation_blend_tree.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scene/animation/animation_blend_tree.cpp b/scene/animation/animation_blend_tree.cpp index 243da85f27..a343a4f0ed 100644 --- a/scene/animation/animation_blend_tree.cpp +++ b/scene/animation/animation_blend_tree.cpp @@ -835,12 +835,11 @@ AnimationNodeTransition::AnimationNodeTransition() { time = "time"; current = "current"; prev_current = "prev_current"; - ; enabled_inputs = 0; for (int i = 0; i < MAX_INPUTS; i++) { inputs[i].auto_advance = false; - inputs[i].name = itos(i + 1); + inputs[i].name = "state " + itos(i); } } |