1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

[Web] Fix Web Editor plugin being added to SCons multiple times

Move the Web Editor plugin files to an editor sub-folder inside the
platform folder.
This commit is contained in:
Fabio Alessandrelli
2024-11-11 11:30:41 +01:00
parent fd4c29a189
commit b4f8135d46
5 changed files with 11 additions and 11 deletions

View File

@@ -31,14 +31,12 @@
#include "api.h"
#include "javascript_bridge_singleton.h"
#include "web_tools_editor_plugin.h"
#include "core/config/engine.h"
static JavaScriptBridge *javascript_bridge_singleton;
void register_web_api() {
WebToolsEditorPlugin::initialize();
GDREGISTER_ABSTRACT_CLASS(JavaScriptObject);
GDREGISTER_ABSTRACT_CLASS(JavaScriptBridge);
javascript_bridge_singleton = memnew(JavaScriptBridge);