You've already forked godot
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user