From 5dfef9d8bc7e7c37cc20968220d2706d96555cc8 Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Sun, 26 Jul 2020 04:04:07 +0300 Subject: Removes redundant code generation in VisualShaderNodeTextureUniform --- scene/resources/visual_shader_nodes.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scene/resources/visual_shader_nodes.h') 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 get_editable_properties() const override; void set_texture_type(TextureType p_type); -- cgit v1.2.3