cleanup a bit

avinationmerge
UbitUmarov 2014-08-15 21:26:50 +01:00
parent 3e6f49f3be
commit 72a6bca033
1 changed files with 1 additions and 10 deletions

View File

@ -2108,20 +2108,11 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer
string reason = String.Empty;
int ts = Util.EnvironmentTickCount();
bool regionAccepted = scene.SimulationService.CreateAgent(reg, a, (uint)TeleportFlags.Default, out reason);
// m_log.DebugFormat("[ENTITY TRANSFER MODULE] SimulationService.CreateAgent took {0}ms",Util.EnvironmentTickCountSubtract(ts));
if (regionAccepted && newAgent)
{
// give time for createAgent to finish, since it is async and does grid services access
// int dly = 500 - sp.ControllingClient.PingTimeMS;
// if (dly > 20)
// Thread.Sleep(dly);
// ping is unrealiable after a login :(, just delay a fair amount
Thread.Sleep(500);
if (m_eqModule != null)