diff options
author | Justin Clark-Casey (justincc) | 2013-03-23 00:39:03 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-03-23 00:45:21 +0000 |
commit | 93206ef0fa6dffe93313455b3354ce3787e7262d (patch) | |
tree | ad7448b880e66529999ecb302f462982e51578b7 /OpenSim/Region/CoreModules | |
parent | Following on from 476a7d3e (which wasn't enough), make chat across regions on... (diff) | |
download | opensim-SC_OLD-93206ef0fa6dffe93313455b3354ce3787e7262d.zip opensim-SC_OLD-93206ef0fa6dffe93313455b3354ce3787e7262d.tar.gz opensim-SC_OLD-93206ef0fa6dffe93313455b3354ce3787e7262d.tar.bz2 opensim-SC_OLD-93206ef0fa6dffe93313455b3354ce3787e7262d.tar.xz |
Add "show borders" command to show the borders of a region.
This is relevant to mega-regions where the borders are very different to a regular region.
Also adds some method doc and other code comments.
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index 26267e2..136caad 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | |||
@@ -994,6 +994,10 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer | |||
994 | { | 994 | { |
995 | Scene scene = agent.Scene; | 995 | Scene scene = agent.Scene; |
996 | Vector3 pos = agent.AbsolutePosition; | 996 | Vector3 pos = agent.AbsolutePosition; |
997 | |||
998 | // m_log.DebugFormat( | ||
999 | // "[ENTITY TRANSFER MODULE]: Crossing agent {0} at pos {1} in {2}", agent.Name, pos, scene.Name); | ||
1000 | |||
997 | Vector3 newpos = new Vector3(pos.X, pos.Y, pos.Z); | 1001 | Vector3 newpos = new Vector3(pos.X, pos.Y, pos.Z); |
998 | uint neighbourx = scene.RegionInfo.RegionLocX; | 1002 | uint neighbourx = scene.RegionInfo.RegionLocX; |
999 | uint neighboury = scene.RegionInfo.RegionLocY; | 1003 | uint neighboury = scene.RegionInfo.RegionLocY; |