Skip to content

Commit

Permalink
Fix missing editor singletons when dump extension api
Browse files Browse the repository at this point in the history
  • Loading branch information
Daylily-Zeleen committed Oct 13, 2023
1 parent ee118e7 commit fee3b85
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 fee3b85

Please sign in to comment.