Fix #113210: Custom socket declarations require idname reference #113214

Merged
Lukas Tönne merged 1 commits from LukasTonne/blender:fix-custom-socket-declaration-idname into blender-v4.0-release 2023-10-03 18:09:25 +02:00

View File

@ -302,6 +302,7 @@ static SocketDeclarationPtr declaration_for_interface_socket(
case SOCK_CUSTOM:
auto value = std::make_unique<decl::Custom>();
value->init_socket_fn = get_init_socket_fn(ntree.tree_interface, io_socket);
value->idname_ = io_socket.socket_type;
dst = std::move(value);
break;
}