mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 20:23:53 +00:00
Allow comma prefix to visual shader's expression parser
This commit is contained in:
parent
765839b2ad
commit
80080f2655
@ -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("(");
|
||||
|
Loading…
Reference in New Issue
Block a user