From fee3b85a2b84739c9f6f26ef5dc55f643d623a87 Mon Sep 17 00:00:00 2001 From: Daylily-Zeleen Date: Fri, 13 Oct 2023 14:26:48 +0800 Subject: [PATCH] Fix missing editor singletons when dump extension api --- main/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main/main.cpp b/main/main.cpp index 72a5210f12bd..c09b43775767 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -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); }