diff options
author | Melanie | 2012-01-10 18:33:32 +0000 |
---|---|---|
committer | Melanie | 2012-01-10 18:33:32 +0000 |
commit | 1cc685e820b0b2979098f3a63d8e7dd532fc7c6f (patch) | |
tree | 9d80fe3f7b9cf23aed9c97fdef37a706940d1f2c /OpenSim/Region/Application/OpenSim.cs | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-1cc685e820b0b2979098f3a63d8e7dd532fc7c6f.zip opensim-SC_OLD-1cc685e820b0b2979098f3a63d8e7dd532fc7c6f.tar.gz opensim-SC_OLD-1cc685e820b0b2979098f3a63d8e7dd532fc7c6f.tar.bz2 opensim-SC_OLD-1cc685e820b0b2979098f3a63d8e7dd532fc7c6f.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/Framework/Scenes/ScenePresence.cs
Diffstat (limited to 'OpenSim/Region/Application/OpenSim.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index a1bdfb9..adf653a 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -250,6 +250,8 @@ namespace OpenSim | |||
250 | + "If level <= 0 then no extra http logging is done.\n", | 250 | + "If level <= 0 then no extra http logging is done.\n", |
251 | Debug); | 251 | Debug); |
252 | 252 | ||
253 | m_console.Commands.AddCommand("region", false, "debug teleport", "debug teleport", "Toggle teleport route debugging", Debug); | ||
254 | |||
253 | m_console.Commands.AddCommand("region", false, "debug scene", | 255 | m_console.Commands.AddCommand("region", false, "debug scene", |
254 | "debug scene <cripting> <collisions> <physics>", | 256 | "debug scene <cripting> <collisions> <physics>", |
255 | "Turn on scene debugging", Debug); | 257 | "Turn on scene debugging", Debug); |
@@ -948,6 +950,21 @@ namespace OpenSim | |||
948 | 950 | ||
949 | break; | 951 | break; |
950 | 952 | ||
953 | case "teleport": | ||
954 | foreach(Scene s in m_sceneManager.Scenes) | ||
955 | { | ||
956 | if (s.DEBUG) | ||
957 | { | ||
958 | s.DEBUG = false; | ||
959 | MainConsole.Instance.Output("Teleport debugging is disabled!"); | ||
960 | } | ||
961 | else{ | ||
962 | s.DEBUG = true; | ||
963 | MainConsole.Instance.Output("Teleport debugging is enabled!"); | ||
964 | } | ||
965 | } | ||
966 | break; | ||
967 | |||
951 | default: | 968 | default: |
952 | MainConsole.Instance.Output("Unknown debug command"); | 969 | MainConsole.Instance.Output("Unknown debug command"); |
953 | break; | 970 | break; |