Fix #33905: cycles crash with bsdf node plugged twice into add shader.
This commit is contained in:
@@ -708,6 +708,7 @@ void ShaderGraph::transform_multi_closure(ShaderNode *node, ShaderOutput *weight
|
||||
value2_in->value.x = 1.0f;
|
||||
|
||||
weight_out = math_node->output("Value");
|
||||
if(weight_in->link)
|
||||
disconnect(weight_in);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user