소스 검색

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;