소스 검색

Merge pull request #52867 from JFonS/upd_giz_fix

Fix error spam on quit
Rémi Verschelde 4 년 전
부모
커밋
b5380f9f59
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      editor/plugins/node_3d_editor_plugin.cpp

+ 1 - 1
editor/plugins/node_3d_editor_plugin.cpp

@@ -4820,7 +4820,7 @@ void _update_all_gizmos(Node *p_node) {
 }
 
 void Node3DEditor::update_all_gizmos(Node *p_node) {
-	if (!p_node && get_tree()) {
+	if (!p_node && is_inside_tree()) {
 		p_node = get_tree()->get_edited_scene_root();
 	}