You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-26 15:46:23 +00:00
Allow using empty statements in the shader, added formatting warning
This commit is contained in:
@@ -261,6 +261,8 @@ static String dump_node_code(SL::Node *p_node, int p_level) {
|
||||
}
|
||||
code += ")";
|
||||
break;
|
||||
case SL::OP_EMPTY:
|
||||
break;
|
||||
default: {
|
||||
code = "(" + dump_node_code(onode->arguments[0], p_level) + _opstr(onode->op) + dump_node_code(onode->arguments[1], p_level) + ")";
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user