Explorar o código

Fixed seeking behavior of property track with discrete interpolation

Silc 'Tokage' Renew %!s(int64=4) %!d(string=hai) anos
pai
achega
6613d9cf67
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);