Don't open VisualShaders in the text shader editor, and don't support saving them with the "shader" extension.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user