save one call to grid to get agent groups powers (xmlrpcgoups only for now
parent
aa744eecf2
commit
7b7483ec7e
|
@ -12988,7 +12988,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
if (data != null)
|
||||
{
|
||||
for (int i = 0; i < data.Length; i++)
|
||||
m_groupPowers[data[i].GroupID] = data[i].GroupPowers;
|
||||
m_groupPowers[data[i].GroupID] = data[i].GroupPowers;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1408,9 +1408,8 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
|
|||
SendDataUpdate(remoteClient, tellOthers);
|
||||
|
||||
GroupMembershipData[] membershipArray = GetProfileListedGroupMemberships(remoteClient, agentID);
|
||||
IEventQueue eq = remoteClient.Scene.RequestModuleInterface<IEventQueue>();
|
||||
remoteClient.UpdateGroupMembership(membershipArray);
|
||||
|
||||
remoteClient.RefreshGroupMembership();
|
||||
remoteClient.SendAgentGroupDataUpdate(agentID, membershipArray);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue