mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Merge commit godotengine/godot@d09d82d433
This commit is contained in:
@@ -40,6 +40,10 @@
|
||||
#include "scene/main/scene_tree.h"
|
||||
#include "scene/main/window.h" // SceneTree only forward declares it.
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
#include "editor/web_tools_editor_plugin.h"
|
||||
#endif
|
||||
|
||||
#include <emscripten/emscripten.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -106,6 +110,10 @@ void main_loop_callback() {
|
||||
extern EMSCRIPTEN_KEEPALIVE int godot_web_main(int argc, char *argv[]) {
|
||||
os = new OS_Web();
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
WebToolsEditorPlugin::initialize();
|
||||
#endif
|
||||
|
||||
// We must override main when testing is enabled
|
||||
TEST_MAIN_OVERRIDE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user