summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
Diffstat (limited to 'scene')
-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 29998e6ba3..76f379de5f 100644
--- a/scene/resources/visual_shader.cpp
+++ b/scene/resources/visual_shader.cpp
@@ -2204,6 +2204,7 @@ String VisualShaderNodeExpression::generate_code(Shader::Mode p_mode, VisualShad
if (post_symbols.empty()) {
post_symbols.push_back("\t");
post_symbols.push_back("\n");
+ post_symbols.push_back(";");
post_symbols.push_back("}");
post_symbols.push_back("]");
post_symbols.push_back(")");