Commit: 7608ebe44aa343f40f1d79f719097111eaa0c722 Author: Iliya Katueshenock Date: Thu Dec 15 19:32:30 2022 +0100 Branches: master https://developer.blender.org/rB7608ebe44aa343f40f1d79f719097111eaa0c722
Fix: ignore unavailable sockets linked to multi-input socket Differential Revision: https://developer.blender.org/D16784 =================================================================== M source/blender/nodes/intern/geometry_nodes_lazy_function.cc =================================================================== diff --git a/source/blender/nodes/intern/geometry_nodes_lazy_function.cc b/source/blender/nodes/intern/geometry_nodes_lazy_function.cc index cad92cc0d90..9b89d056675 100644 --- a/source/blender/nodes/intern/geometry_nodes_lazy_function.cc +++ b/source/blender/nodes/intern/geometry_nodes_lazy_function.cc @@ -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) { _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs