mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
fixed shader graph length node, fixes #1632
This commit is contained in:
@@ -2204,7 +2204,7 @@ void ShaderGraph::_add_node_code(ShaderType p_type,Node *p_node,const Vector<Str
|
||||
}break;
|
||||
case NODE_VEC_LEN: {
|
||||
|
||||
code += OUTNAME(p_node->id,0)+"=length("+p_inputs[1]+");\n";
|
||||
code += OUTNAME(p_node->id,0)+"=length("+p_inputs[0]+");\n";
|
||||
|
||||
}break;
|
||||
case NODE_DOT_PROD: {
|
||||
|
||||
Reference in New Issue
Block a user