You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Initialize class variables with default values in scene/ [2/2]
This commit is contained in:
@@ -1132,7 +1132,7 @@ void AnimationPlayer::play(const StringName &p_name, float p_custom_blend, float
|
||||
Playback &c = playback;
|
||||
|
||||
if (c.current.from) {
|
||||
float blend_time = 0;
|
||||
float blend_time = 0.0;
|
||||
// find if it can blend
|
||||
BlendKey bk;
|
||||
bk.from = c.current.from->name;
|
||||
|
||||
Reference in New Issue
Block a user