From 7961a1dea3e7ce8c4e7197a0000e35ab31e9ff2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mikrut?= Date: Tue, 9 Feb 2021 18:24:36 +0100 Subject: Initialize class variables with default values in scene/ [2/2] --- scene/animation/animation_node_state_machine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/animation/animation_node_state_machine.cpp') diff --git a/scene/animation/animation_node_state_machine.cpp b/scene/animation/animation_node_state_machine.cpp index 552e6b6f5d..4f69b05afe 100644 --- a/scene/animation/animation_node_state_machine.cpp +++ b/scene/animation/animation_node_state_machine.cpp @@ -393,7 +393,7 @@ float AnimationNodeStateMachinePlayback::process(AnimationNodeStateMachine *p_st //find next StringName next; - float next_xfade = 0; + float next_xfade = 0.0; AnimationNodeStateMachineTransition::SwitchMode switch_mode = AnimationNodeStateMachineTransition::SWITCH_MODE_IMMEDIATE; if (path.size()) { -- cgit v1.2.3