summaryrefslogtreecommitdiffstats
path: root/editor/plugins/shader_editor_plugin.h
diff options
context:
space:
mode:
authorYuri Rubinsky <chaosus89@gmail.com>2022-12-09 11:02:07 +0300
committerYuri Rubinsky <chaosus89@gmail.com>2022-12-09 11:02:07 +0300
commita7027b9927935a459d9433a99054ca9b92d7800e (patch)
treecfe54d3c3f8b37a4d75db715310fca09141526c8 /editor/plugins/shader_editor_plugin.h
parent2d02cb67ee904b7614a6a5396669c575193fb73f (diff)
downloadredot-engine-a7027b9927935a459d9433a99054ca9b92d7800e.tar.gz
Fix changing of visual shader mode
Diffstat (limited to 'editor/plugins/shader_editor_plugin.h')
-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;