diff options
author | kobewi <kobewi4e@gmail.com> | 2023-04-09 20:43:55 +0200 |
---|---|---|
committer | RĂ©mi Verschelde <rverschelde@gmail.com> | 2023-05-12 12:07:01 +0200 |
commit | 19b998396c5caefe3beda9cb81337c5c7159519c (patch) | |
tree | efa4cff4355fb12e66a1d65b513ff3894ecf5b0f /editor/plugins/script_editor_plugin.h | |
parent | a5cb7a5eb5134957ccc9bff5b6a2f78aa54078d6 (diff) |
Close built-in shaders when closing scene
(cherry picked from commit aaf02ec04a8ef053a359bc2f4cc3f1747448a4a3)
Diffstat (limited to 'editor/plugins/script_editor_plugin.h')
-rw-r--r-- | editor/plugins/script_editor_plugin.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/plugins/script_editor_plugin.h b/editor/plugins/script_editor_plugin.h index 7d2f5ad22a..10dfe0f199 100644 --- a/editor/plugins/script_editor_plugin.h +++ b/editor/plugins/script_editor_plugin.h @@ -482,6 +482,7 @@ class ScriptEditor : public PanelContainer { void _on_find_in_files_modified_files(PackedStringArray paths); static void _open_script_request(const String &p_path); + void _close_builtin_scripts_from_scene(const String &p_scene); static ScriptEditor *script_editor; @@ -523,8 +524,6 @@ public: void notify_script_close(const Ref<Script> &p_script); void notify_script_changed(const Ref<Script> &p_script); - void close_builtin_scripts_from_scene(const String &p_scene); - void goto_help(const String &p_desc) { _help_class_goto(p_desc); } void update_doc(const String &p_name); void clear_docs_from_script(const Ref<Script> &p_script); |