1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-07 19:53:17 +00:00

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";
current = "current";
prev_current = "prev_current";
xfade = 0.0;
enabled_inputs = 0;
for (int i = 0; i < MAX_INPUTS; i++) {