aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authoropensim mirror account2010-10-29 15:20:04 -0700
committeropensim mirror account2010-10-29 15:20:04 -0700
commit45c6ce65f5d44ef8a0c7a3086ed0644a7943e92e (patch)
tree1a102c5141fafd8ba4760433abd07764e0e7beb9 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentMerge branch 'master' of /var/git/opensim/ (diff)
parentMerge branch 'justincc-dev' (diff)
downloadopensim-SC-45c6ce65f5d44ef8a0c7a3086ed0644a7943e92e.zip
opensim-SC-45c6ce65f5d44ef8a0c7a3086ed0644a7943e92e.tar.gz
opensim-SC-45c6ce65f5d44ef8a0c7a3086ed0644a7943e92e.tar.bz2
opensim-SC-45c6ce65f5d44ef8a0c7a3086ed0644a7943e92e.tar.xz
Merge branch 'master' of /var/git/opensim/
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs12
1 files changed, 9 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 9402f8b..1fc3ed6 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1075,9 +1075,11 @@ namespace OpenSim.Region.Framework.Scenes
1075 /// </summary> 1075 /// </summary>
1076 public void CompleteMovement(IClientAPI client) 1076 public void CompleteMovement(IClientAPI client)
1077 { 1077 {
1078// DEBUG ON 1078 DateTime startTime = DateTime.Now;
1079 m_log.WarnFormat("[SCENE PRESENCE]: CompleteMovement for {0}",UUID); 1079
1080// DEBUG OFF 1080 m_log.DebugFormat(
1081 "[SCENE PRESENCE]: Completing movement of {0} into region {1}",
1082 client.Name, Scene.RegionInfo.RegionName);
1081 1083
1082 Vector3 look = Velocity; 1084 Vector3 look = Velocity;
1083 if ((look.X == 0) && (look.Y == 0) && (look.Z == 0)) 1085 if ((look.X == 0) && (look.Y == 0) && (look.Z == 0))
@@ -1125,6 +1127,10 @@ namespace OpenSim.Region.Framework.Scenes
1125 if (friendsModule != null) 1127 if (friendsModule != null)
1126 friendsModule.SendFriendsOnlineIfNeeded(ControllingClient); 1128 friendsModule.SendFriendsOnlineIfNeeded(ControllingClient);
1127 } 1129 }
1130
1131 m_log.DebugFormat(
1132 "[SCENE PRESENCE]: Completing movement of {0} into region {1} took {2}ms",
1133 client.Name, Scene.RegionInfo.RegionName, (DateTime.Now - startTime).Milliseconds);
1128 } 1134 }
1129 1135
1130 /// <summary> 1136 /// <summary>