Allow comma prefix to visual shader's expression parser

This commit is contained in:
Yuri Roubinski 2019-08-07 13:48:36 +03:00
parent 765839b2ad
commit 80080f2655

View File

@ -2260,6 +2260,7 @@ String VisualShaderNodeExpression::generate_code(Shader::Mode p_mode, VisualShad
static Vector<String> pre_symbols;
if (pre_symbols.empty()) {
pre_symbols.push_back("\t");
pre_symbols.push_back(",");
pre_symbols.push_back("{");
pre_symbols.push_back("[");
pre_symbols.push_back("(");