Moved TriggerOnMakeRootAgent back to the end of MakeRootAgent, to see if that eliminates the temporary placement at infinity upon TPs

TeleportWork
Diva Canto 2013-07-22 22:00:20 -07:00
parent e6a0f6e428
commit 4e5c7bdeb3
1 changed files with 2 additions and 7 deletions

View File

@ -1013,9 +1013,8 @@ namespace OpenSim.Region.Framework.Scenes
// recorded, which stops the input from being processed. // recorded, which stops the input from being processed.
MovementFlag = 0; MovementFlag = 0;
// DIVA NOTE: I moved TriggerOnMakeRootAgent out of here and into the end of m_scene.EventManager.TriggerOnMakeRootAgent(this);
// CompleteMovement. We don't want modules doing heavy computation before CompleteMovement
// is over.
} }
public int GetStateSource() public int GetStateSource()
@ -1437,10 +1436,6 @@ namespace OpenSim.Region.Framework.Scenes
// "[SCENE PRESENCE]: Completing movement of {0} into region {1} took {2}ms", // "[SCENE PRESENCE]: Completing movement of {0} into region {1} took {2}ms",
// client.Name, Scene.RegionInfo.RegionName, (DateTime.Now - startTime).Milliseconds); // client.Name, Scene.RegionInfo.RegionName, (DateTime.Now - startTime).Milliseconds);
// DIVA NOTE: moved this here from MakeRoot. We don't want modules making heavy
// computations before CompleteMovement is over
m_scene.EventManager.TriggerOnMakeRootAgent(this);
} }
/// <summary> /// <summary>