瀏覽代碼

Fix changing of visual shader mode

Yuri Rubinsky 2 年之前
父節點
當前提交
a7027b9927
共有 1 個文件被更改,包括 1 次插入0 次删除
  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;