From 6613d9cf67e75237dd4f234f32d73bf48aa9defd Mon Sep 17 00:00:00 2001 From: Silc 'Tokage' Renew Date: Sat, 11 Sep 2021 05:58:17 +0900 Subject: [PATCH] Fixed seeking behavior of property track with discrete interpolation --- scene/animation/animation_tree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/animation/animation_tree.cpp b/scene/animation/animation_tree.cpp index 88fb9601646..9ca8d478b11 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 indices; a->value_track_get_key_indices(i, time, delta, &indices);