From 00bc06b50bb1c688e6481ae8fbfab0a758b83dad Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 19 Jun 2016 22:07:07 -0300 Subject: Make sure that scripts are reloaded if needed when they enter editing, fixes #4456 --- tools/editor/plugins/script_editor_plugin.cpp | 16 ++++++++++++++-- tools/editor/plugins/script_editor_plugin.h | 4 ++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp index f459bf483a..4061bb9827 100644 --- a/tools/editor/plugins/script_editor_plugin.cpp +++ b/tools/editor/plugins/script_editor_plugin.cpp @@ -531,7 +531,7 @@ static void _find_changed_scripts_for_external_editor(Node* p_base, Node*p_curre } -void ScriptEditor::_update_modified_scripts_for_external_editor() { +void ScriptEditor::_update_modified_scripts_for_external_editor(Ref