Don't open VisualShaders in the text shader editor, and don't support saving them with the "shader" extension.

This commit is contained in:
elasota
2018-09-14 21:54:59 -04:00
parent 06c8b5a4ff
commit f5c7d64492
5 changed files with 19 additions and 4 deletions
+2
View File
@@ -79,6 +79,8 @@ public:
Ref<Texture> get_default_texture_param(const StringName &p_param) const;
void get_default_texture_param_list(List<StringName> *r_textures) const;
virtual bool is_text_shader() const;
_FORCE_INLINE_ StringName remap_param(const StringName &p_param) const {
if (params_cache_dirty)
get_param_list(NULL);