aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers/Simulation
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Server/Handlers/Simulation')
-rw-r--r--OpenSim/Server/Handlers/Simulation/AgentHandlers.cs9
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();