diff options
author | Chaosus89 <chaosus89@gmail.com> | 2019-09-01 11:18:29 +0300 |
---|---|---|
committer | Chaosus89 <chaosus89@gmail.com> | 2019-09-01 12:14:20 +0300 |
commit | 466a9ffdc6d27e597bed7334637b6edc0af1c8a9 (patch) | |
tree | 4cf0a9da8701a05cb8b7f79682bd95e2d836b38e | |
parent | 00aabec8bb598592b8a8702797b51fc9f6ca6169 (diff) |
Fix visual shader expression parsing
-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 699410719c..e37cbd9f92 100644 --- a/scene/resources/visual_shader.cpp +++ b/scene/resources/visual_shader.cpp @@ -2479,9 +2479,9 @@ String VisualShaderNodeExpression::generate_code(Shader::Mode p_mode, VisualShad static Vector<String> post_symbols; if (post_symbols.empty()) { - post_symbols.push_back("\0"); 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("]"); |