1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix Editor crash during first scan in headless import mode.

This commit is contained in:
Mounir Tohami
2025-07-26 14:03:45 +03:00
parent 0dd9178269
commit aa086fa0d5
3 changed files with 4 additions and 8 deletions

View File

@@ -950,6 +950,7 @@ void EditorData::clear_edited_scenes() {
}
}
edited_scene.clear();
SceneTree::get_singleton()->set_edited_scene_root(nullptr);
}
void EditorData::set_plugin_window_layout(Ref<ConfigFile> p_layout) {