2
0
Эх сурвалжийг харах

[macOS] Fix editor loading crash on native menu click.

Pāvels Nadtočajevs 6 сар өмнө
parent
commit
6d698cf185

+ 3 - 0
editor/editor_node.cpp

@@ -399,6 +399,9 @@ void EditorNode::_update_vsync_mode() {
 }
 
 void EditorNode::_update_from_settings() {
+	if (!is_inside_tree()) {
+		return;
+	}
 	_update_title();
 
 	int current_filter = GLOBAL_GET("rendering/textures/canvas_textures/default_texture_filter");