diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-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(); |