Fixed uninitialized xfade in AnimationNodeTransition

(cherry picked from commit dafd7768ab)
This commit is contained in:
PouleyKetchoupp 2019-04-08 17:13:30 +02:00 committed by Rémi Verschelde
parent 792beb4b83
commit a028160522
1 changed files with 1 additions and 0 deletions

View File

@ -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++) {