diff options
author | Yuri Sizov <yuris@humnom.net> | 2024-01-17 18:52:54 +0100 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2024-01-17 18:52:54 +0100 |
commit | c027aecc2e11f21da0a515964861372e361bffeb (patch) | |
tree | 1f86560199e1ed4e19840d27ff196157bfd5a304 /editor/plugins/script_text_editor.cpp | |
parent | 5b22884b4aab9bfc0522686daa20df6ca0076027 (diff) | |
parent | cde478bda6a7ca5239daf96d0fd3cb6344c064a6 (diff) | |
download | redot-engine-c027aecc2e11f21da0a515964861372e361bffeb.tar.gz |
Merge pull request #86676 from rune-scape/sparse-script-reload
GDScript: Hot-reload changed scripts only
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
-rw-r--r-- | editor/plugins/script_text_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp index 45fb531d37..5bd6f83616 100644 --- a/editor/plugins/script_text_editor.cpp +++ b/editor/plugins/script_text_editor.cpp @@ -824,7 +824,7 @@ void ScriptEditor::_update_modified_scripts_for_external_editor(Ref<Script> p_fo scr->set_last_modified_time(rel_scr->get_last_modified_time()); scr->update_exports(); - trigger_live_script_reload(); + trigger_live_script_reload(scr->get_path()); } } } |