summaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorwillnationsdev <willnationsdev@gmail.com>2018-06-29 22:08:28 -0500
committerWill Nations <willnationsdev@gmail.com>2018-07-04 09:41:12 -0500
commit2a6c591957b456961db192908ce62d997d34acac (patch)
treeda84c697d3643b0768113b5fa67ee8a21a073db9 /editor/editor_node.cpp
parent0ffec7daf762b74c7453aa22b71865e63660901c (diff)
Expose ScriptCreateDialog to EditorPlugin
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index f099f29204..5ab5a717ad 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -3075,6 +3075,7 @@ void EditorNode::register_editor_types() {
ClassDB::register_class<EditorInspectorPlugin>();
ClassDB::register_class<EditorProperty>();
ClassDB::register_class<AnimationTrackEditPlugin>();
+ ClassDB::register_class<ScriptCreateDialog>();
// FIXME: Is this stuff obsolete, or should it be ported to new APIs?
ClassDB::register_class<EditorScenePostImport>();
@@ -4430,6 +4431,8 @@ void EditorNode::_bind_methods() {
ClassDB::bind_method("stop_child_process", &EditorNode::stop_child_process);
+ ClassDB::bind_method("get_script_create_dialog", &EditorNode::get_script_create_dialog);
+
ClassDB::bind_method("_sources_changed", &EditorNode::_sources_changed);
ClassDB::bind_method("_fs_changed", &EditorNode::_fs_changed);
ClassDB::bind_method("_dock_select_draw", &EditorNode::_dock_select_draw);