diff options
author | Robert Adams | 2013-12-24 12:31:26 -0800 |
---|---|---|
committer | Robert Adams | 2013-12-24 12:31:26 -0800 |
commit | e5f7c8b6e83170cbc7e0d49d9efd3fc3600396d3 (patch) | |
tree | 57ef97b754fb3de30c37929ed890ecb982496735 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | varregion: remove unused Scene.HaveNeighbor routine. Its computation (diff) | |
download | opensim-SC_OLD-e5f7c8b6e83170cbc7e0d49d9efd3fc3600396d3.zip opensim-SC_OLD-e5f7c8b6e83170cbc7e0d49d9efd3fc3600396d3.tar.gz opensim-SC_OLD-e5f7c8b6e83170cbc7e0d49d9efd3fc3600396d3.tar.bz2 opensim-SC_OLD-e5f7c8b6e83170cbc7e0d49d9efd3fc3600396d3.tar.xz |
varregion: add lots of DEBUG level log messages. Especially for teleport.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 0cd8b21..4efd9d5 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -76,6 +76,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
76 | public class ScenePresence : EntityBase, IScenePresence | 76 | public class ScenePresence : EntityBase, IScenePresence |
77 | { | 77 | { |
78 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 78 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
79 | private static readonly String LogHeader = "[SCENE PRESENCE]"; | ||
79 | 80 | ||
80 | // ~ScenePresence() | 81 | // ~ScenePresence() |
81 | // { | 82 | // { |
@@ -3438,12 +3439,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
3438 | 3439 | ||
3439 | if (!IsInTransit) | 3440 | if (!IsInTransit) |
3440 | { | 3441 | { |
3441 | m_log.DebugFormat( | ||
3442 | "[SCENE PRESENCE]: Testing border check for projected position {0} of {1} in {2}", | ||
3443 | pos2, Name, Scene.Name); | ||
3444 | |||
3445 | if (!m_scene.PositionIsInCurrentRegion(pos2)) | 3442 | if (!m_scene.PositionIsInCurrentRegion(pos2)) |
3446 | { | 3443 | { |
3444 | m_log.DebugFormat("{0} CheckForBorderCrossing: position outside region. {1} in {2} at pos {3}", | ||
3445 | LogHeader, Name, Scene.Name, pos2); | ||
3446 | |||
3447 | // Disconnect from the current region | 3447 | // Disconnect from the current region |
3448 | bool isFlying = Flying; | 3448 | bool isFlying = Flying; |
3449 | RemoveFromPhysicalScene(); | 3449 | RemoveFromPhysicalScene(); |