summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-12-09 09:11:50 +0100
committerGitHub <noreply@github.com>2022-12-09 09:11:50 +0100
commitc6e40e1c01200052450df10d9126f8ea7f57de30 (patch)
treeda1d989545e13b9cf5216b290972661f4aef8a31 /editor
parent333449e5ee174691e3bf7d7487b37f75f8190dd2 (diff)
parenta7027b9927935a459d9433a99054ca9b92d7800e (diff)
Merge pull request #69800 from Chaosus/fix_visual_shader_mode
Fix changing of visual shader mode
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/shader_editor_plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/shader_editor_plugin.h b/editor/plugins/shader_editor_plugin.h
index 1ae419053e..4f0894a1a9 100644
--- a/editor/plugins/shader_editor_plugin.h
+++ b/editor/plugins/shader_editor_plugin.h
@@ -96,6 +96,7 @@ protected:
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;