diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2019-09-01 12:29:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-01 12:29:22 +0300 |
commit | 5dd51a5b3b3da516c0e8bb2855d2772def037203 (patch) | |
tree | a2fbe149383998543fe0a5ceac6e72aef6b0729d | |
parent | 979e7729472ce4e67d7d04cfeebdba9a1f60b9f0 (diff) | |
parent | 466a9ffdc6d27e597bed7334637b6edc0af1c8a9 (diff) |
Fix visual shader expression parsing (#31853)
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("]"); |