From 8af20b10e93e27045da4175af6a0f996e0d5abf6 Mon Sep 17 00:00:00 2001 From: Yuri Rubinsky Date: Fri, 9 Dec 2022 11:02:07 +0300 Subject: [PATCH] Fix changing of visual shader mode --- editor/plugins/shader_editor_plugin.h | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/shader_editor_plugin.h b/editor/plugins/shader_editor_plugin.h index 1ae419053e8e..4f0894a1a9a7 100644 --- a/editor/plugins/shader_editor_plugin.h +++ b/editor/plugins/shader_editor_plugin.h @@ -96,6 +96,7 @@ class ShaderEditorPlugin : public EditorPlugin { static void _bind_methods(); public: + virtual String get_name() const override { return "Shader"; } virtual void edit(Object *p_object) override; virtual bool handles(Object *p_object) const override; virtual void make_visible(bool p_visible) override;