diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-05-05 19:20:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-05 19:20:58 +0200 |
commit | c7419f108f7db397017aac32d6ccd0014647d4b7 (patch) | |
tree | c700a0e09f1e32ca88d3513612a0d300d964be64 | |
parent | f74e61fa54520dc092cb12bc35bccccfbeab74cf (diff) | |
parent | 45e4cb2bbf70a4f26c28045abbb60d9ad180abe1 (diff) |
Merge pull request #60797 from KoBeWi/bound_to_spam_errors
-rw-r--r-- | scene/animation/tween.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/tween.cpp b/scene/animation/tween.cpp index a52902f8c6..5457da472f 100644 --- a/scene/animation/tween.cpp +++ b/scene/animation/tween.cpp @@ -335,7 +335,7 @@ bool Tween::can_process(bool p_tree_paused) const { if (is_bound && pause_mode == TWEEN_PAUSE_BOUND) { Node *bound_node = get_bound_node(); if (bound_node) { - return bound_node->can_process(); + return bound_node->is_inside_tree() && bound_node->can_process(); } } |