Fixed seeking behavior of property track with discrete interpolation

This commit is contained in:
Silc 'Tokage' Renew 2021-09-11 05:58:17 +09:00
parent c30cffe1b0
commit 6613d9cf67
1 changed files with 1 additions and 1 deletions

View File

@ -958,7 +958,7 @@ void AnimationTree::_process_graph(real_t p_delta) {
Variant::interpolate(t->value, value, blend, t->value); Variant::interpolate(t->value, value, blend, t->value);
} else if (delta != 0) { } else {
List<int> indices; List<int> indices;
a->value_track_get_key_indices(i, time, delta, &indices); a->value_track_get_key_indices(i, time, delta, &indices);