소스 검색

Merge pull request #60797 from KoBeWi/bound_to_spam_errors

Rémi Verschelde 3 년 전
부모
커밋
c7419f108f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      scene/animation/tween.cpp

+ 1 - 1
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();
 		}
 	}