aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorUbitUmarov2015-09-27 07:05:47 +0100
committerUbitUmarov2015-09-27 07:07:40 +0100
commit04b32e19820a9d4e4e82906cc2f5c0396256e6aa (patch)
treebc5ff3b8b5d89c3509b8f09cc9e1dc92b8b52585 /OpenSim/Region/ClientStack
parent add missing SendAgentGroupDataUpdate to llClientView (diff)
downloadopensim-SC_OLD-04b32e19820a9d4e4e82906cc2f5c0396256e6aa.zip
opensim-SC_OLD-04b32e19820a9d4e4e82906cc2f5c0396256e6aa.tar.gz
opensim-SC_OLD-04b32e19820a9d4e4e82906cc2f5c0396256e6aa.tar.bz2
opensim-SC_OLD-04b32e19820a9d4e4e82906cc2f5c0396256e6aa.tar.xz
let SendAvatarGroupsReply fall back to UDP if no caps and make use of it
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs14
1 files changed, 9 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index a524561..6667c35 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -3406,6 +3406,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
3406 3406
3407 public void SendAgentGroupDataUpdate(UUID avatarID, GroupMembershipData[] data) 3407 public void SendAgentGroupDataUpdate(UUID avatarID, GroupMembershipData[] data)
3408 { 3408 {
3409 IEventQueue eq = this.Scene.RequestModuleInterface<IEventQueue>();
3410
3411 // use UDP if no caps
3412 if (eq == null)
3413 {
3414 SendGroupMembership(data);
3415 }
3416
3409 OSDMap llsd = new OSDMap(3); 3417 OSDMap llsd = new OSDMap(3);
3410 OSDArray AgentData = new OSDArray(1); 3418 OSDArray AgentData = new OSDArray(1);
3411 OSDMap AgentDataMap = new OSDMap(1); 3419 OSDMap AgentDataMap = new OSDMap(1);
@@ -3432,11 +3440,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
3432 llsd.Add("GroupData", GroupData); 3440 llsd.Add("GroupData", GroupData);
3433 llsd.Add("NewGroupData", NewGroupData); 3441 llsd.Add("NewGroupData", NewGroupData);
3434 3442
3435 IEventQueue eq = this.Scene.RequestModuleInterface<IEventQueue>(); 3443 eq.Enqueue(BuildEvent("AgentGroupDataUpdate", llsd), this.AgentId);
3436 if (eq != null)
3437 {
3438 eq.Enqueue(BuildEvent("AgentGroupDataUpdate", llsd), this.AgentId);
3439 }
3440 } 3444 }
3441 3445
3442 public void SendJoinGroupReply(UUID groupID, bool success) 3446 public void SendJoinGroupReply(UUID groupID, bool success)