mirror of
https://github.com/godotengine/godot.git
synced 2024-11-13 23:52:41 +00:00
Fix parsing array indexing symbol in visual shader expression
This commit is contained in:
parent
604dc426d5
commit
54f0889f20
@ -2466,6 +2466,7 @@ String VisualShaderNodeExpression::generate_code(Shader::Mode p_mode, VisualShad
|
||||
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("-");
|
||||
@ -2485,6 +2486,7 @@ String VisualShaderNodeExpression::generate_code(Shader::Mode p_mode, VisualShad
|
||||
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(" ");
|
||||
|
Loading…
Reference in New Issue
Block a user