From 1f4885fe4941a21535d295e0d37a7b69604f9834 Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Sat, 1 Feb 2020 16:25:34 +0300 Subject: [PATCH] Added missing '\n' in visual shader custom node code generation (cherry picked from commit 9d8b59e86a337d4a4ed6f1577df046c914ab59e3) --- scene/resources/visual_shader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/resources/visual_shader.cpp b/scene/resources/visual_shader.cpp index 4161f743a56..d8cac0c2024 100644 --- a/scene/resources/visual_shader.cpp +++ b/scene/resources/visual_shader.cpp @@ -246,6 +246,7 @@ String VisualShaderNodeCustom::generate_code(Shader::Mode p_mode, VisualShader:: code.remove(code.size() - 1); code += "}"; } + code += "\n"; return code; }