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

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