diff options
author | UbitUmarov | 2016-07-01 18:38:38 +0100 |
---|---|---|
committer | UbitUmarov | 2016-07-01 18:38:38 +0100 |
commit | 7b7483ec7e69ef7a9fb5e82ce6f03a68103ef63a (patch) | |
tree | b7660774403ad9daceaa74162979f1ab221b0186 | |
parent | add a few methods to modify clientview group powers (diff) | |
download | opensim-SC-7b7483ec7e69ef7a9fb5e82ce6f03a68103ef63a.zip opensim-SC-7b7483ec7e69ef7a9fb5e82ce6f03a68103ef63a.tar.gz opensim-SC-7b7483ec7e69ef7a9fb5e82ce6f03a68103ef63a.tar.bz2 opensim-SC-7b7483ec7e69ef7a9fb5e82ce6f03a68103ef63a.tar.xz |
save one call to grid to get agent groups powers (xmlrpcgoups only for now
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 16cb4ac..29c4d91 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -12988,7 +12988,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
12988 | if (data != null) | 12988 | if (data != null) |
12989 | { | 12989 | { |
12990 | for (int i = 0; i < data.Length; i++) | 12990 | for (int i = 0; i < data.Length; i++) |
12991 | m_groupPowers[data[i].GroupID] = data[i].GroupPowers; | 12991 | m_groupPowers[data[i].GroupID] = data[i].GroupPowers; |
12992 | } | 12992 | } |
12993 | } | 12993 | } |
12994 | } | 12994 | } |
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs index 343935d..27645e4 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | |||
@@ -1408,9 +1408,8 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
1408 | SendDataUpdate(remoteClient, tellOthers); | 1408 | SendDataUpdate(remoteClient, tellOthers); |
1409 | 1409 | ||
1410 | GroupMembershipData[] membershipArray = GetProfileListedGroupMemberships(remoteClient, agentID); | 1410 | GroupMembershipData[] membershipArray = GetProfileListedGroupMemberships(remoteClient, agentID); |
1411 | IEventQueue eq = remoteClient.Scene.RequestModuleInterface<IEventQueue>(); | 1411 | remoteClient.UpdateGroupMembership(membershipArray); |
1412 | 1412 | ||
1413 | remoteClient.RefreshGroupMembership(); | ||
1414 | remoteClient.SendAgentGroupDataUpdate(agentID, membershipArray); | 1413 | remoteClient.SendAgentGroupDataUpdate(agentID, membershipArray); |
1415 | } | 1414 | } |
1416 | 1415 | ||