Fix: ignore unavailable sockets linked to multi-input socket
Differential Revision: https://developer.blender.org/D16784
This commit is contained in:
parent
e01b98cdb6
commit
75849c7796
Notes:
blender-bot
2023-02-14 07:08:26 +01:00
Referenced by issue #102967, 3.4: Potential candidates for corrective releases
|
@ -1156,10 +1156,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