Browse Source

Fixed seeking behavior of property track with discrete interpolation

Silc 'Tokage' Renew 4 years ago
parent
commit
6613d9cf67
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/animation/animation_tree.cpp

+ 1 - 1
scene/animation/animation_tree.cpp

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