aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorUbitUmarov2016-09-17 12:44:52 +0100
committerUbitUmarov2016-09-17 12:44:52 +0100
commite5383604cb68710b1f9960d6a0aeb0812d2db3ea (patch)
tree844cb56f494c58c123cd167280673dae58f89f16 /OpenSim/Region/ClientStack
parent forgot the dll (diff)
parentchange spinobject math, and a few minor things (diff)
downloadopensim-SC-e5383604cb68710b1f9960d6a0aeb0812d2db3ea.zip
opensim-SC-e5383604cb68710b1f9960d6a0aeb0812d2db3ea.tar.gz
opensim-SC-e5383604cb68710b1f9960d6a0aeb0812d2db3ea.tar.bz2
opensim-SC-e5383604cb68710b1f9960d6a0aeb0812d2db3ea.tar.xz
Merge branch 'master' into httptests
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs21
1 files changed, 20 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index fad250b..2d337f1 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -6108,7 +6108,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
6108 AddLocalPacketHandler(PacketType.SimWideDeletes, HandleSimWideDeletes); 6108 AddLocalPacketHandler(PacketType.SimWideDeletes, HandleSimWideDeletes);
6109 AddLocalPacketHandler(PacketType.SendPostcard, HandleSendPostcard); 6109 AddLocalPacketHandler(PacketType.SendPostcard, HandleSendPostcard);
6110 AddLocalPacketHandler(PacketType.ChangeInventoryItemFlags, HandleChangeInventoryItemFlags); 6110 AddLocalPacketHandler(PacketType.ChangeInventoryItemFlags, HandleChangeInventoryItemFlags);
6111 6111 AddLocalPacketHandler(PacketType.RevokePermissions, HandleRevokePermissions);
6112 AddGenericPacketHandler("autopilot", HandleAutopilot); 6112 AddGenericPacketHandler("autopilot", HandleAutopilot);
6113 } 6113 }
6114 6114
@@ -10997,6 +10997,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
10997 return true; 10997 return true;
10998 } 10998 }
10999 10999
11000
11000 private bool HandleInventoryDescendents(IClientAPI sender, Packet Pack) 11001 private bool HandleInventoryDescendents(IClientAPI sender, Packet Pack)
11001 { 11002 {
11002 return true; 11003 return true;
@@ -12371,6 +12372,24 @@ namespace OpenSim.Region.ClientStack.LindenUDP
12371 return true; 12372 return true;
12372 } 12373 }
12373 12374
12375 private bool HandleRevokePermissions(IClientAPI sender, Packet Pack)
12376 {
12377 RevokePermissionsPacket pkt = (RevokePermissionsPacket)Pack;
12378 if (pkt.AgentData.SessionID != SessionId ||
12379 pkt .AgentData.AgentID != AgentId)
12380 return true;
12381
12382 // don't use multidelegate "event"
12383 ScenePresence sp = (ScenePresence)SceneAgent;
12384 if(sp != null && !sp.IsDeleted && !sp.IsInTransit)
12385 {
12386 UUID objectID = pkt.Data.ObjectID;
12387 uint permissions = pkt.Data.ObjectPermissions;
12388
12389 sp.HandleRevokePermissions(objectID , permissions);
12390 }
12391 return true;
12392 }
12374 private bool HandlePlacesQuery(IClientAPI sender, Packet Pack) 12393 private bool HandlePlacesQuery(IClientAPI sender, Packet Pack)
12375 { 12394 {
12376 PlacesQueryPacket placesQueryPacket = 12395 PlacesQueryPacket placesQueryPacket =