Fixed uninitialized xfade in AnimationNodeTransition
(cherry picked from commit dafd7768ab
)
This commit is contained in:
parent
792beb4b83
commit
a028160522
|
@ -857,6 +857,7 @@ AnimationNodeTransition::AnimationNodeTransition() {
|
||||||
time = "time";
|
time = "time";
|
||||||
current = "current";
|
current = "current";
|
||||||
prev_current = "prev_current";
|
prev_current = "prev_current";
|
||||||
|
xfade = 0.0;
|
||||||
|
|
||||||
enabled_inputs = 0;
|
enabled_inputs = 0;
|
||||||
for (int i = 0; i < MAX_INPUTS; i++) {
|
for (int i = 0; i < MAX_INPUTS; i++) {
|
||||||
|
|
Loading…
Reference in New Issue