diff options
author | BlueWall | 2012-01-09 18:19:55 -0500 |
---|---|---|
committer | BlueWall | 2012-01-09 18:19:55 -0500 |
commit | 707c8c6f2b7671c0a439a28921daeac8e7219639 (patch) | |
tree | 123f16ef388d49734b9ac9b6f709a3b1a68ffd03 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Use our TeleportFlags (diff) | |
download | opensim-SC_OLD-707c8c6f2b7671c0a439a28921daeac8e7219639.zip opensim-SC_OLD-707c8c6f2b7671c0a439a28921daeac8e7219639.tar.gz opensim-SC_OLD-707c8c6f2b7671c0a439a28921daeac8e7219639.tar.bz2 opensim-SC_OLD-707c8c6f2b7671c0a439a28921daeac8e7219639.tar.xz |
Add some run-time debugging support
Add configuration option - DEBUG to enable debugging methods. This is temporary for helping users testing teleport routing be able to report back the data with the test cases. We can remove when finished with this, or leave it if it proves to be useful.
Users: set DEBUG = true in OpenSim.ini to get more information from teleport routing. The default is false. It presently prints the TeleportFlags value.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index d58484e..1869417 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -3841,7 +3841,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
3841 | ILandObject land = m_scene.LandChannel.GetLandObject(pos.X, pos.Y); | 3841 | ILandObject land = m_scene.LandChannel.GetLandObject(pos.X, pos.Y); |
3842 | if (land != null) | 3842 | if (land != null) |
3843 | { | 3843 | { |
3844 | TeleportFlagsDebug(); | 3844 | if (Scene.DEBUG) |
3845 | TeleportFlagsDebug(); | ||
3846 | |||
3845 | // If we come in via login, landmark or map, we want to | 3847 | // If we come in via login, landmark or map, we want to |
3846 | // honor landing points. If we come in via Lure, we want | 3848 | // honor landing points. If we come in via Lure, we want |
3847 | // to ignore them. | 3849 | // to ignore them. |