Fix semicolon parsing in visual shader expression

This commit is contained in:
Chaosus89 2019-09-01 13:12:33 +03:00
parent 5dd51a5b3b
commit a68ea5721f

View file

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