From 8f83f6c67551b86f4eb0661d5594f29e5c84a51c Mon Sep 17 00:00:00 2001 From: Maximillian Date: Sun, 9 Aug 2015 16:39:59 -0700 Subject: [PATCH 1/5] Add create new script button to script editor menu --- tools/editor/plugins/script_editor_plugin.cpp | 18 ++++++++++++++---- tools/editor/plugins/script_editor_plugin.h | 5 ++++- tools/editor/script_create_dialog.cpp | 6 +++--- 3 files changed, 21 insertions(+), 8 deletions(-) diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp index 302e4f2196e..250b82706af 100644 --- a/tools/editor/plugins/script_editor_plugin.cpp +++ b/tools/editor/plugins/script_editor_plugin.cpp @@ -211,7 +211,6 @@ void ScriptEditorQuickOpen::_bind_methods() { ObjectTypeDB::bind_method(_MD("_confirmed"),&ScriptEditorQuickOpen::_confirmed); ObjectTypeDB::bind_method(_MD("_sbox_input"),&ScriptEditorQuickOpen::_sbox_input); - ADD_SIGNAL(MethodInfo("goto_line",PropertyInfo(Variant::INT,"line"))); } @@ -547,6 +546,10 @@ void ScriptEditor::_show_debugger(bool p_show) { } +void ScriptEditor::_script_created(Ref