Fix: ignore unavailable sockets linked to multi-input socket
Differential Revision: https://developer.blender.org/D16784
This commit is contained in:
parent
ef35247ee1
commit
7608ebe44a
Notes:
blender-bot
2023-06-26 11:58:59 +02:00
Referenced by issue #102967, 3.4: Potential candidates for corrective releases
|
@ -1141,10 +1141,11 @@ struct GeometryNodesLazyFunctionGraphBuilder {
|
|||
if (multi_input_link == link) {
|
||||
break;
|
||||
}
|
||||
if (!(multi_input_link->is_muted() ||
|
||||
nodeIsDanglingReroute(&btree_, multi_input_link->fromnode))) {
|
||||
link_index++;
|
||||
if (multi_input_link->is_muted() || !multi_input_link->fromsock->is_available() ||
|
||||
nodeIsDanglingReroute(&btree_, multi_input_link->fromnode)) {
|
||||
continue;
|
||||
}
|
||||
link_index++;
|
||||
}
|
||||
if (to_bsocket.owner_node().is_muted()) {
|
||||
if (link_index == 0) {
|
||||
|
|
Loading…
Reference in New Issue