diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2020-07-26 09:43:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-26 09:43:28 +0300 |
commit | 44c90e66d07f87ef5d0fb7c7f5e6a0b2a35c7e0c (patch) | |
tree | 6e76ebaee1207ed03ffee68f0e478bdc39627c8f /scene/resources/visual_shader_nodes.h | |
parent | 4f5615e423e1398bf575a9571f7795ed1f20e344 (diff) | |
parent | 5dfef9d8bc7e7c37cc20968220d2706d96555cc8 (diff) |
Merge pull request #40715 from Chaosus/vs_fix_texture_uniform_node
Removes redundant code generation in VisualShaderNodeTextureUniform
Diffstat (limited to 'scene/resources/visual_shader_nodes.h')
-rw-r--r-- | scene/resources/visual_shader_nodes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/visual_shader_nodes.h b/scene/resources/visual_shader_nodes.h index 13a132c60e..b82d5c65c9 100644 --- a/scene/resources/visual_shader_nodes.h +++ b/scene/resources/visual_shader_nodes.h @@ -1715,6 +1715,8 @@ public: virtual String generate_global(Shader::Mode p_mode, VisualShader::Type p_type, int p_id) const override; virtual String generate_code(Shader::Mode p_mode, VisualShader::Type p_type, int p_id, const String *p_input_vars, const String *p_output_vars, bool p_for_preview = false) const override; //if no output is connected, the output var passed will be empty. if no input is connected and input is NIL, the input var passed will be empty + virtual bool is_code_generated() const override; + Vector<StringName> get_editable_properties() const override; void set_texture_type(TextureType p_type); |