diff options
author | Justin Clark-Casey (justincc) | 2012-03-21 01:13:44 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-03-21 01:13:44 +0000 |
commit | ab243f4a5794e6b7b9a414c2e1bb57d3d0abfb75 (patch) | |
tree | 55129150822b98fa4dfac783eed9f0b2b75e2587 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Replace "scene debug true false true" console command with "scene debug scrip... (diff) | |
download | opensim-SC-ab243f4a5794e6b7b9a414c2e1bb57d3d0abfb75.zip opensim-SC-ab243f4a5794e6b7b9a414c2e1bb57d3d0abfb75.tar.gz opensim-SC-ab243f4a5794e6b7b9a414c2e1bb57d3d0abfb75.tar.bz2 opensim-SC-ab243f4a5794e6b7b9a414c2e1bb57d3d0abfb75.tar.xz |
Incorporate scene teleporting debugging into "debug scene teleport true|false" command
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index f2200da..e1e4ed5 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -65,7 +65,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
65 | #region Fields | 65 | #region Fields |
66 | 66 | ||
67 | public bool EmergencyMonitoring = false; | 67 | public bool EmergencyMonitoring = false; |
68 | public bool DEBUG = false; | 68 | public bool DebugTeleporting { get; private set; } |
69 | 69 | ||
70 | public SynchronizeSceneHandler SynchronizeScene; | 70 | public SynchronizeSceneHandler SynchronizeScene; |
71 | public SimStatsReporter StatsReporter; | 71 | public SimStatsReporter StatsReporter; |
@@ -1064,6 +1064,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
1064 | if (bool.TryParse(options["physics"], out enablePhysics) && m_physics_enabled != enablePhysics) | 1064 | if (bool.TryParse(options["physics"], out enablePhysics) && m_physics_enabled != enablePhysics) |
1065 | m_physics_enabled = enablePhysics; | 1065 | m_physics_enabled = enablePhysics; |
1066 | } | 1066 | } |
1067 | |||
1068 | if (options.ContainsKey("teleport")) | ||
1069 | DebugTeleporting = true; | ||
1067 | } | 1070 | } |
1068 | 1071 | ||
1069 | public int GetInaccurateNeighborCount() | 1072 | public int GetInaccurateNeighborCount() |