summaryrefslogtreecommitdiff
path: root/scene/animation
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-04-11 09:35:23 +0200
committerGitHub <noreply@github.com>2019-04-11 09:35:23 +0200
commit2d67eaf2c3480a4a56aab69e6e2b6c67e04fc821 (patch)
tree8a783b09feaaba81bf1440ad84130261a457fd5c /scene/animation
parent9c514c2606f3acf490ba1c8345fd13c2d2f581a6 (diff)
parenteea3bddd1df52c6ebae06900e762499fbb7cc374 (diff)
Merge pull request #27917 from volzhs/init_autorestart_random_delay
Set initial value for autorestart_random_delay of AnimationNodeOneShot
Diffstat (limited to 'scene/animation')
-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;