Skip to content

Commit

Permalink
Fix animation keyframes being skipped sometimes when being played bac…
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoxon committed Sep 8, 2023
1 parent 8c1817f commit 1a52c0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/resources/animation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2782,7 +2782,7 @@ void Animation::_track_get_key_indices_in_range(const Vector<T> &p_array, double
p_indices->push_back(i);
}
} else {
for (int i = to; i >= to; i--) {
for (int i = to; i >= from; i--) {
p_indices->push_back(i);
}
}
Expand Down

0 comments on commit 1a52c0c

Please sign in to comment.