[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:
parent
fd4c29a189
commit
b4f8135d46
5 changed files with 11 additions and 11 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue