Merge pull request #27814 from nekomatata/transition-node-xfade

Fixed uninitialized xfade in AnimationNodeTransition
This commit is contained in:
Rémi Verschelde 2019-04-09 16:46:51 +02:00 committed by GitHub
commit 8fb54ef19b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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