summaryrefslogtreecommitdiffstats
path: root/editor/plugins/script_editor_plugin.h
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2023-04-09 20:43:55 +0200
committerkobewi <kobewi4e@gmail.com>2023-04-09 22:10:43 +0200
commitaaf02ec04a8ef053a359bc2f4cc3f1747448a4a3 (patch)
tree4c99bfa7a33ef1842abfa55a77e667a6c03c05d1 /editor/plugins/script_editor_plugin.h
parente684d126ed605899267ee37cc143f072b93b4d04 (diff)
downloadredot-engine-aaf02ec04a8ef053a359bc2f4cc3f1747448a4a3.tar.gz
Close built-in shaders when closing scene
Diffstat (limited to 'editor/plugins/script_editor_plugin.h')
-rw-r--r--editor/plugins/script_editor_plugin.h3
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);