diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2020-02-03 15:58:58 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2020-02-03 15:58:58 +0300 |
commit | 6e1187ad2f378a5e72021056839c728414e29e37 (patch) | |
tree | 2ee1fc6a7d6c3c2aa87b4d06af8c28442a5da57b | |
parent | d5b579852ff5eda4486559232bd3aca49ca8625d (diff) |
Added missing '\n' in visual shader expression node code generation
-rw-r--r-- | scene/resources/visual_shader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/visual_shader.cpp b/scene/resources/visual_shader.cpp index d8cac0c202..b3a72ea7b6 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; } |