diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2020-01-27 13:09:15 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2020-01-27 13:09:15 +0300 |
commit | 4912d4c6e4da456c24e0740e0c76bf3199eb317f (patch) | |
tree | 67b38a444882e8bd6b568b16e8c8e9a60aaea7b8 /scene/resources | |
parent | d1dcf8fdb838cbfdacda3cecb46b24de243583cf (diff) |
Added missed bracket to VisualShaderNodeCubeMap
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/visual_shader_nodes.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/visual_shader_nodes.cpp b/scene/resources/visual_shader_nodes.cpp index ba58c02e3b..7d8c396b7f 100644 --- a/scene/resources/visual_shader_nodes.cpp +++ b/scene/resources/visual_shader_nodes.cpp @@ -815,6 +815,7 @@ String VisualShaderNodeCubeMap::generate_code(Shader::Mode p_mode, VisualShader: code += "\t\tvec4 " + id + "_read = vec4(0.0);\n"; code += "\t\t" + p_output_vars[0] + " = " + id + "_read.rgb;\n"; code += "\t\t" + p_output_vars[1] + " = " + id + "_read.a;\n"; + code += "\t}\n"; return code; } |