Browse Source

Merge pull request #69800 from Chaosus/fix_visual_shader_mode

Fix changing of visual shader mode
Rémi Verschelde 2 years ago
parent
commit
c6e40e1c01
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/plugins/shader_editor_plugin.h

+ 1 - 0
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;