From eea3bddd1df52c6ebae06900e762499fbb7cc374 Mon Sep 17 00:00:00 2001 From: volzhs Date: Thu, 11 Apr 2019 13:36:00 +0900 Subject: [PATCH] Set initial value for autorestart_random_delay of AnimationNodeOneShot --- scene/animation/animation_blend_tree.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/animation/animation_blend_tree.cpp b/scene/animation/animation_blend_tree.cpp index 11ce8666908..e9b38ae990c 100644 --- a/scene/animation/animation_blend_tree.cpp +++ b/scene/animation/animation_blend_tree.cpp @@ -363,6 +363,7 @@ AnimationNodeOneShot::AnimationNodeOneShot() { fade_out = 0.1; autorestart = false; autorestart_delay = 1; + autorestart_random_delay = 0; mix = MIX_MODE_BLEND; sync = false;