summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2020-02-01 16:25:34 +0300
committerYuri Roubinsky <chaosus89@gmail.com>2020-02-01 16:25:34 +0300
commit9d8b59e86a337d4a4ed6f1577df046c914ab59e3 (patch)
tree08f8fc99cde4cec103f50aa1df0f74af61b2dfc1
parent45218316c934e8aa02401e104d5458ef20b5e098 (diff)
Added missing '\n' in visual shader custom node code generation
-rw-r--r--scene/resources/visual_shader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/visual_shader.cpp b/scene/resources/visual_shader.cpp
index 4161f743a5..d8cac0c202 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;
}