mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
Fixed seeking behavior of property track with discrete interpolation
This commit is contained in:
parent
c30cffe1b0
commit
6613d9cf67
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user