Fixed uninitialized xfade in AnimationNodeTransition

This commit is contained in:
PouleyKetchoupp 2019-04-08 17:13:30 +02:00
parent a994db62df
commit dafd7768ab

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