diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 3a40196..8e4aaf1 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -839,6 +839,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
839 | m_rootRegionHandle = m_scene.RegionInfo.RegionHandle; | 839 | m_rootRegionHandle = m_scene.RegionInfo.RegionHandle; |
840 | 840 | ||
841 | m_scene.EventManager.TriggerSetRootAgentScene(m_uuid, m_scene); | 841 | m_scene.EventManager.TriggerSetRootAgentScene(m_uuid, m_scene); |
842 | m_log.DebugFormat("[XXX] MakeRoot 1"); | ||
842 | 843 | ||
843 | // Moved this from SendInitialData to ensure that m_appearance is initialized | 844 | // Moved this from SendInitialData to ensure that m_appearance is initialized |
844 | // before the inventory is processed in MakeRootAgent. This fixes a race condition | 845 | // before the inventory is processed in MakeRootAgent. This fixes a race condition |
@@ -899,6 +900,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
899 | } | 900 | } |
900 | 901 | ||
901 | AddToPhysicalScene(isFlying); | 902 | AddToPhysicalScene(isFlying); |
903 | m_log.DebugFormat("[XXX] MakeRoot 2"); | ||
902 | 904 | ||
903 | if (m_appearance != null) | 905 | if (m_appearance != null) |
904 | { | 906 | { |
@@ -941,7 +943,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
941 | presence.Animator.SendAnimPackToClient(ControllingClient); | 943 | presence.Animator.SendAnimPackToClient(ControllingClient); |
942 | }); | 944 | }); |
943 | 945 | ||
946 | m_log.DebugFormat("[XXX] MakeRoot 3"); | ||
944 | m_scene.EventManager.TriggerOnMakeRootAgent(this); | 947 | m_scene.EventManager.TriggerOnMakeRootAgent(this); |
948 | m_log.DebugFormat("[XXX] MakeRoot 4"); | ||
945 | } | 949 | } |
946 | 950 | ||
947 | /// <summary> | 951 | /// <summary> |