From e10b0c9eaa3daf278e13df6246ce768d2564d47a Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Mon, 3 Feb 2020 15:58:58 +0300 Subject: [PATCH] Added missing '\n' in visual shader expression node code generation (cherry picked from commit 6e1187ad2f378a5e72021056839c728414e29e37) --- scene/resources/visual_shader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/resources/visual_shader.cpp b/scene/resources/visual_shader.cpp index d8cac0c2024..b3a72ea7b60 100644 --- a/scene/resources/visual_shader.cpp +++ b/scene/resources/visual_shader.cpp @@ -2644,7 +2644,7 @@ String VisualShaderNodeExpression::generate_code(Shader::Mode p_mode, VisualShad code += output_initializer; code += "\t{"; code += _expression; - code += "\n\t}"; + code += "\n\t}\n"; return code; }