Fix visual shader expression parsing

This commit is contained in:
Chaosus89 2019-09-01 11:18:29 +03:00
parent 00aabec8bb
commit 466a9ffdc6

View file

@ -2479,9 +2479,9 @@ String VisualShaderNodeExpression::generate_code(Shader::Mode p_mode, VisualShad
static Vector<String> post_symbols; static Vector<String> post_symbols;
if (post_symbols.empty()) { if (post_symbols.empty()) {
post_symbols.push_back("\0");
post_symbols.push_back("\t"); post_symbols.push_back("\t");
post_symbols.push_back("\n"); post_symbols.push_back("\n");
post_symbols.push_back(",");
post_symbols.push_back(";"); post_symbols.push_back(";");
post_symbols.push_back("}"); post_symbols.push_back("}");
post_symbols.push_back("]"); post_symbols.push_back("]");