aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 13d9964..03aa8cf 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1085,7 +1085,11 @@ namespace OpenSim.Region.Framework.Scenes
1085 /// </summary> 1085 /// </summary>
1086 public void CompleteMovement(IClientAPI client) 1086 public void CompleteMovement(IClientAPI client)
1087 { 1087 {
1088 //m_log.Debug("[SCENE PRESENCE]: CompleteMovement"); 1088 DateTime startTime = DateTime.Now;
1089
1090 m_log.DebugFormat(
1091 "[SCENE PRESENCE]: Completing movement of {0} into region {1}",
1092 client.Name, Scene.RegionInfo.RegionName);
1089 1093
1090 Vector3 look = Velocity; 1094 Vector3 look = Velocity;
1091 if ((look.X == 0) && (look.Y == 0) && (look.Z == 0)) 1095 if ((look.X == 0) && (look.Y == 0) && (look.Z == 0))
@@ -1134,6 +1138,9 @@ namespace OpenSim.Region.Framework.Scenes
1134 friendsModule.SendFriendsOnlineIfNeeded(ControllingClient); 1138 friendsModule.SendFriendsOnlineIfNeeded(ControllingClient);
1135 } 1139 }
1136 1140
1141 m_log.DebugFormat(
1142 "[SCENE PRESENCE]: Completing movement of {0} into region {1} took {2}ms",
1143 client.Name, Scene.RegionInfo.RegionName, (DateTime.Now - startTime).Milliseconds);
1137 } 1144 }
1138 1145
1139 /// <summary> 1146 /// <summary>