diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-07-26 14:05:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-26 14:05:56 +0200 |
commit | 5700429e4edca4ba90a406976ac3e8b337a50eb8 (patch) | |
tree | 182556e73f95ccc32ca4ea839a737d2d9db9448d /editor/plugins/script_editor_plugin.h | |
parent | 42d320beca9c33f8bd54392296be2d133d671e9e (diff) | |
parent | ccff2f2551c5749e1c7d2976222013f582d767b1 (diff) |
Merge pull request #33760 from nekomatata/script-editor-init-optimization
Optimized ScriptEditor initialization when many scripts are loaded
Diffstat (limited to 'editor/plugins/script_editor_plugin.h')
-rw-r--r-- | editor/plugins/script_editor_plugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/script_editor_plugin.h b/editor/plugins/script_editor_plugin.h index 3891af4091..74376d692f 100644 --- a/editor/plugins/script_editor_plugin.h +++ b/editor/plugins/script_editor_plugin.h @@ -134,6 +134,7 @@ public: virtual RES get_edited_resource() const = 0; virtual Vector<String> get_functions() = 0; virtual void set_edited_resource(const RES &p_res) = 0; + virtual void enable_editor() = 0; virtual void reload_text() = 0; virtual String get_name() = 0; virtual Ref<Texture2D> get_theme_icon() = 0; |