From f0fda9fd874815c9cf888cac52353db2c3fed50a Mon Sep 17 00:00:00 2001 From: sersoong Date: Thu, 7 Dec 2017 11:57:41 +0800 Subject: Add 'copy script path' to script editor plugin --- editor/plugins/script_editor_plugin.cpp | 12 ++++++++++++ editor/plugins/script_editor_plugin.h | 3 +++ 2 files changed, 15 insertions(+) diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 3c2d52c128..c02b3458e5 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -586,6 +586,12 @@ void ScriptEditor::_close_docs_tab() { } } +void ScriptEditor::_copy_script_path() { + ScriptEditorBase *se = Object::cast_to(tab_container->get_child(tab_container->get_current_tab())); + Ref