Fix T91241: wrong labels and identifiers for id sockets
`nodeAddSocket` expects the name and identifier in a different order.
This commit is contained in:
@@ -274,7 +274,7 @@ bNodeSocket &build_id_socket(bNodeTree &ntree,
|
||||
StringRefNull identifier)
|
||||
{
|
||||
bNodeSocket &socket = *nodeAddSocket(
|
||||
&ntree, &node, in_out, data.idname, name.c_str(), identifier.c_str());
|
||||
&ntree, &node, in_out, data.idname, identifier.c_str(), name.c_str());
|
||||
if (data.hide_label) {
|
||||
socket.flag |= SOCK_HIDE_LABEL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user