diff options
author | Chaosus <chaosus89@gmail.com> | 2019-05-21 18:37:31 +0300 |
---|---|---|
committer | Chaosus <chaosus89@gmail.com> | 2019-05-21 18:37:31 +0300 |
commit | 6f2abd68f27b966ba4b45ae8e90192b7a0ea1382 (patch) | |
tree | 5b868feb6a94c3e04534e62c75e0b51970aa87b5 /scene/resources | |
parent | 7d42ca838486ce4a737e074b60fffd81de1bc971 (diff) |
Fix few bugs in expression node
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/visual_shader.cpp | 1 |
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(")"); |