2
0
Эх сурвалжийг харах

Fixed uninitialized xfade in AnimationNodeTransition

PouleyKetchoupp 6 жил өмнө
parent
commit
dafd7768ab

+ 1 - 0
scene/animation/animation_blend_tree.cpp

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