summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-27 10:29:48 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-27 10:29:48 +0100
commit1a3b537bc7b53a647021bc7f77106edf1c4e920f (patch)
tree582e6f78c538a854786bcfd1b14a0e430adf3c6f
parent01b5644785f19458dc00b92937b9d36304beae16 (diff)
parentd33fdfcdad8351b40bca1ac21679e71b765567c3 (diff)
Merge pull request #72166 from TokageItLab/method-break
Fix AnimationTree MethodTrack discards all process
-rw-r--r--scene/animation/animation_tree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_tree.cpp b/scene/animation/animation_tree.cpp
index a2a1a0aaef..05b6c72cbd 100644
--- a/scene/animation/animation_tree.cpp
+++ b/scene/animation/animation_tree.cpp
@@ -1411,7 +1411,7 @@ void AnimationTree::_process_graph(double p_delta) {
case Animation::TYPE_METHOD: {
#ifdef TOOLS_ENABLED
if (!can_call) {
- return;
+ continue;
}
#endif // TOOLS_ENABLED
TrackCacheMethod *t = static_cast<TrackCacheMethod *>(track);