diff options
author | Jacques Lucke <jacques@blender.org> | 2021-09-08 16:57:05 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-09-08 16:57:22 +0300 |
commit | 6bc6ffc35c58ca4ac1ac1a55367e20fc06f5fe3a (patch) | |
tree | b470bd6f610452d992b35c8b6bf669c1fcda5478 /source/blender/nodes/intern | |
parent | 96ef1843776f22c3a4cee6280740be93ce08615f (diff) |
Fix T91241: wrong labels and identifiers for id sockets
`nodeAddSocket` expects the name and identifier in a
different order.
Diffstat (limited to 'source/blender/nodes/intern')
-rw-r--r-- | source/blender/nodes/intern/node_socket_declarations.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/intern/node_socket_declarations.cc b/source/blender/nodes/intern/node_socket_declarations.cc index 418fed146fb..ba9a1870b0c 100644 --- a/source/blender/nodes/intern/node_socket_declarations.cc +++ b/source/blender/nodes/intern/node_socket_declarations.cc @@ -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; } |