diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-04-11 09:35:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-11 09:35:23 +0200 |
commit | 2d67eaf2c3480a4a56aab69e6e2b6c67e04fc821 (patch) | |
tree | 8a783b09feaaba81bf1440ad84130261a457fd5c /scene/animation | |
parent | 9c514c2606f3acf490ba1c8345fd13c2d2f581a6 (diff) | |
parent | eea3bddd1df52c6ebae06900e762499fbb7cc374 (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.cpp | 1 |
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; |