Skip to content

Commit

Permalink
Merge pull request #83239 from Daylily-Zeleen/Fixs-missing-editor-sin…
Browse files Browse the repository at this point in the history
…gletons-when-dump-extension-api

Fix missing editor singletons when dumping extension api
  • Loading branch information
akien-mga committed Oct 13, 2023
2 parents 135fa1e + fee3b85 commit 4fd0cfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 4fd0cfa

Please sign in to comment.