Browse Source

Fix AnimationTree MethodTrack discards all process

Silc Renew 2 years ago
parent
commit
d33fdfcdad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/animation/animation_tree.cpp

+ 1 - 1
scene/animation/animation_tree.cpp

@@ -1411,7 +1411,7 @@ void AnimationTree::_process_graph(double p_delta) {
 					case Animation::TYPE_METHOD: {
 					case Animation::TYPE_METHOD: {
 #ifdef TOOLS_ENABLED
 #ifdef TOOLS_ENABLED
 						if (!can_call) {
 						if (!can_call) {
-							return;
+							continue;
 						}
 						}
 #endif // TOOLS_ENABLED
 #endif // TOOLS_ENABLED
 						TrackCacheMethod *t = static_cast<TrackCacheMethod *>(track);
 						TrackCacheMethod *t = static_cast<TrackCacheMethod *>(track);