Fix missing editor singletons when dump extension api

This commit is contained in:
Daylily-Zeleen 2023-10-13 14:26:48 +08:00
parent ee118e7ffd
commit fee3b85a2b
1 changed files with 1 additions and 0 deletions

View File

@ -2960,6 +2960,7 @@ bool Main::start() {
}
if (dump_extension_api) {
Engine::get_singleton()->set_editor_hint(true); // "extension_api.json" should always contains editor singletons.
GDExtensionAPIDump::generate_extension_json_file("extension_api.json", include_docs_in_extension_api_dump);
}