diff options
author | volzhs <volzhs@gmail.com> | 2019-04-11 13:36:00 +0900 |
---|---|---|
committer | volzhs <volzhs@gmail.com> | 2019-04-11 14:56:38 +0900 |
commit | eea3bddd1df52c6ebae06900e762499fbb7cc374 (patch) | |
tree | fa2be197e2c831ac4ae7d50950480509cec599bc /scene | |
parent | 5823b5d77d47339c3c981953ca8178e7ef14b6df (diff) |
Set initial value for autorestart_random_delay of AnimationNodeOneShot
Diffstat (limited to 'scene')
-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; |