Fix: Assert loading undefined geometry node
This commit is contained in:
@@ -1893,6 +1893,9 @@ struct GeometryNodesLazyFunctionGraphBuilder {
|
||||
|
||||
for (const bNodeSocket *bsocket : bnode.output_sockets()) {
|
||||
const int lf_index = mapping_->lf_index_by_bsocket[bsocket->index_in_tree()];
|
||||
if (lf_index == -1) {
|
||||
continue;
|
||||
}
|
||||
lf::OutputSocket &lf_socket = lf_node.output(lf_index);
|
||||
output_socket_map_.add(bsocket, &lf_socket);
|
||||
mapping_->bsockets_by_lf_socket_map.add(&lf_socket, bsocket);
|
||||
|
||||
Reference in New Issue
Block a user