Fixed seeking behavior of property track with discrete interpolation

(cherry picked from commit 6613d9cf67)
This commit is contained in:
Silc 'Tokage' Renew
2021-09-11 05:58:17 +09:00
committed by Rémi Verschelde
parent ed3742c4a7
commit fa45aa22cb

View File

@ -954,7 +954,7 @@ void AnimationTree::_process_graph(float 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);