Skip to content

Commit

Permalink
Merge pull request #52555 from TokageItLab/fixed-discrete-animation-seek
Browse files Browse the repository at this point in the history
Fixed seeking behavior of property track with discrete interpolation
  • Loading branch information
akien-mga authored Sep 20, 2021
2 parents a92c58e + 6613d9c commit 132ad85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/animation/animation_tree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 132ad85

Please sign in to comment.