diff options
author | BlueWall | 2011-02-09 14:45:40 -0500 |
---|---|---|
committer | BlueWall | 2011-02-09 14:45:40 -0500 |
commit | 0f736e5601a738b4da435b392774ba211647da9c (patch) | |
tree | edb1f9d90c01841eea86b2ce0b2fbf410dc416ee /OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | |
parent | Merge branch 'master' of /home/opensim/src/OpenSim/Core (diff) | |
parent | Flash out the prim count module (diff) | |
download | opensim-SC_OLD-0f736e5601a738b4da435b392774ba211647da9c.zip opensim-SC_OLD-0f736e5601a738b4da435b392774ba211647da9c.tar.gz opensim-SC_OLD-0f736e5601a738b4da435b392774ba211647da9c.tar.bz2 opensim-SC_OLD-0f736e5601a738b4da435b392774ba211647da9c.tar.xz |
Merge branch 'master' of /home/opensim/src/OpenSim/Core
Diffstat (limited to 'OpenSim/Server/Handlers/Simulation/AgentHandlers.cs')
-rw-r--r-- | OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs index 57672a8..2601d2a 100644 --- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs +++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | |||
@@ -326,10 +326,17 @@ namespace OpenSim.Server.Handlers.Simulation | |||
326 | return; | 326 | return; |
327 | } | 327 | } |
328 | 328 | ||
329 | // m_log.DebugFormat("[AGENT HANDLER]: Received QUERYACCESS with {0}", (string)request["body"]); | ||
330 | OSDMap args = Utils.GetOSDMap((string)request["body"]); | ||
331 | |||
332 | Vector3 position = Vector3.Zero; | ||
333 | if (args.ContainsKey("position")) | ||
334 | position = Vector3.Parse(args["position"].AsString()); | ||
335 | |||
329 | GridRegion destination = new GridRegion(); | 336 | GridRegion destination = new GridRegion(); |
330 | destination.RegionID = regionID; | 337 | destination.RegionID = regionID; |
331 | 338 | ||
332 | bool result = m_SimulationService.QueryAccess(destination, id); | 339 | bool result = m_SimulationService.QueryAccess(destination, id, position); |
333 | 340 | ||
334 | responsedata["int_response_code"] = HttpStatusCode.OK; | 341 | responsedata["int_response_code"] = HttpStatusCode.OK; |
335 | responsedata["str_response_string"] = result.ToString(); | 342 | responsedata["str_response_string"] = result.ToString(); |