do hide hidden groups on profile
parent
2e66f8dbdf
commit
ef49ac7049
|
@ -4104,6 +4104,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
LLSDxmlEncode.AddElem("AvatarID", avatarID, sb);
|
LLSDxmlEncode.AddElem("AvatarID", avatarID, sb);
|
||||||
LLSDxmlEncode.AddEndMapAndArray(sb);
|
LLSDxmlEncode.AddEndMapAndArray(sb);
|
||||||
|
|
||||||
|
bool notSameAvatar = avatarID != AgentId;
|
||||||
if(data.Length == 0)
|
if(data.Length == 0)
|
||||||
LLSDxmlEncode.AddEmptyArray("GroupData", sb);
|
LLSDxmlEncode.AddEmptyArray("GroupData", sb);
|
||||||
else
|
else
|
||||||
|
@ -4113,6 +4114,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
for (int indx = 0; indx < data.Length; ++indx)
|
for (int indx = 0; indx < data.Length; ++indx)
|
||||||
{
|
{
|
||||||
m = data[indx];
|
m = data[indx];
|
||||||
|
if(notSameAvatar && !m.ListInProfile)
|
||||||
|
continue;
|
||||||
LLSDxmlEncode.AddMap(sb);
|
LLSDxmlEncode.AddMap(sb);
|
||||||
LLSDxmlEncode.AddElem("GroupPowers", m.GroupPowers, sb);
|
LLSDxmlEncode.AddElem("GroupPowers", m.GroupPowers, sb);
|
||||||
LLSDxmlEncode.AddElem("GroupTitle", m.GroupTitle, sb);
|
LLSDxmlEncode.AddElem("GroupTitle", m.GroupTitle, sb);
|
||||||
|
|
|
@ -417,7 +417,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
if (config != null)
|
if (config != null)
|
||||||
{
|
{
|
||||||
m_recvBufferSize = config.GetInt("client_socket_rcvbuf_size", 0);
|
m_recvBufferSize = config.GetInt("client_socket_rcvbuf_size", 0);
|
||||||
sceneThrottleBps = config.GetInt("scene_throttle_max_bps", 0);
|
sceneThrottleBps = config.GetInt("scene_throttle_max_bps", 6250000);
|
||||||
|
|
||||||
TextureSendLimit = config.GetInt("TextureSendLimit", 20);
|
TextureSendLimit = config.GetInt("TextureSendLimit", 20);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue