summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2019-04-11 13:36:00 +0900
committervolzhs <volzhs@gmail.com>2019-04-11 14:56:38 +0900
commiteea3bddd1df52c6ebae06900e762499fbb7cc374 (patch)
treefa2be197e2c831ac4ae7d50950480509cec599bc /scene
parent5823b5d77d47339c3c981953ca8178e7ef14b6df (diff)
Set initial value for autorestart_random_delay of AnimationNodeOneShot
Diffstat (limited to 'scene')
-rw-r--r--scene/animation/animation_blend_tree.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/animation/animation_blend_tree.cpp b/scene/animation/animation_blend_tree.cpp
index 11ce866690..e9b38ae990 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;