Fix expression node parsing when input_port + \0 is occured

This commit is contained in:
Chaosus 2019-05-21 19:45:01 +03:00
parent ebb6eb8be8
commit 6d38754a06

View File

@ -2202,6 +2202,7 @@ 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(";");