save one call to grid to get agent groups powers (xmlrpcgoups only for now

LSLKeyTest
UbitUmarov 2016-07-01 18:38:38 +01:00
parent aa744eecf2
commit 7b7483ec7e
2 changed files with 2 additions and 3 deletions

View File

@ -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);
}