Fix #122683: wrong internal links in Capture Attribute node

This commit is contained in:
Jacques Lucke
2024-12-13 21:28:18 +01:00
parent c19f83bb50
commit 6217f68d88

View File

@@ -722,6 +722,9 @@ class NodeTreeMainUpdater {
/* Internal links should always map corresponding input and output sockets. */
return &node.input_by_identifier(output_socket->identifier);
}
if (node.type == GEO_NODE_CAPTURE_ATTRIBUTE) {
return &node.input_socket(output_socket->index());
}
for (const bNodeSocket *input_socket : node.input_sockets()) {
if (!input_socket->is_available()) {
continue;