From ae3e288b14495a07d49520b2dccb6f952abac58b Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 2 Dec 2015 04:24:58 +0000 Subject: [PATCH] createAgent needs to be sync --- OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs index c19421a6ca..c160e5c381 100644 --- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs +++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs @@ -550,6 +550,8 @@ namespace OpenSim.Server.Handlers.Simulation reason = String.Empty; // The data and protocols are already defined so this is just a dummy to satisfy the interface // TODO: make this end-to-end + +/* this needs to be sync if ((teleportFlags & (uint)TeleportFlags.ViaLogin) == 0) { Util.FireAndForget(x => @@ -563,9 +565,10 @@ namespace OpenSim.Server.Handlers.Simulation } else { +*/ bool ret = m_SimulationService.CreateAgent(source, destination, aCircuit, teleportFlags, ctx, out reason); - m_log.DebugFormat("[AGENT HANDLER]: SYNC CreateAgent {0} {1}", ret.ToString(), reason); +// m_log.DebugFormat("[AGENT HANDLER]: SYNC CreateAgent {0} {1}", ret.ToString(), reason); return ret; } }