fixed shader graph length node, fixes #1632
This commit is contained in:
parent
6227058098
commit
7852be816a
1 changed files with 1 additions and 1 deletions
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue