diff options
| author | Silc 'Tokage' Renew <tokage.it.lab@gmail.com> | 2021-09-11 05:58:17 +0900 |
|---|---|---|
| committer | Silc 'Tokage' Renew <tokage.it.lab@gmail.com> | 2021-09-11 06:10:23 +0900 |
| commit | 6613d9cf67e75237dd4f234f32d73bf48aa9defd (patch) | |
| tree | 193e6393a9604e25f7048dce677c090f7b0acd96 | |
| parent | c30cffe1b0fa1e87c7b28139ee4765851f5d3398 (diff) | |
Fixed seeking behavior of property track with discrete interpolation
| -rw-r--r-- | scene/animation/animation_tree.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_tree.cpp b/scene/animation/animation_tree.cpp index 88fb960164..9ca8d478b1 100644 --- a/scene/animation/animation_tree.cpp +++ b/scene/animation/animation_tree.cpp @@ -958,7 +958,7 @@ void AnimationTree::_process_graph(real_t p_delta) { Variant::interpolate(t->value, value, blend, t->value); - } else if (delta != 0) { + } else { List<int> indices; a->value_track_get_key_indices(i, time, delta, &indices); |