Merge pull request #52555 from TokageItLab/fixed-discrete-animation-seek

Fixed seeking behavior of property track with discrete interpolation
This commit is contained in:
Rémi Verschelde 2021-09-20 14:42:34 +02:00 committed by GitHub
commit 132ad85670
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);