Merge pull request #35616 from Chaosus/vs_fixbracket

Added missed bracket to VisualShaderNodeCubeMap
This commit is contained in:
Yuri Roubinsky 2020-01-27 13:22:12 +03:00 committed by GitHub
commit 38df7ebed3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}