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/Application | |
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/Application')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 169efbd..59b6b21 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -937,26 +937,11 @@ namespace OpenSim | |||
937 | } | 937 | } |
938 | else | 938 | else |
939 | { | 939 | { |
940 | MainConsole.Instance.Output("Usage: debug scene scripting|collisions|physics true|false"); | 940 | MainConsole.Instance.Output("Usage: debug scene scripting|collisions|physics|teleport true|false"); |
941 | } | 941 | } |
942 | 942 | ||
943 | break; | 943 | break; |
944 | 944 | ||
945 | case "teleport": | ||
946 | foreach(Scene s in m_sceneManager.Scenes) | ||
947 | { | ||
948 | if (s.DEBUG) | ||
949 | { | ||
950 | s.DEBUG = false; | ||
951 | MainConsole.Instance.Output("Teleport debugging is disabled!"); | ||
952 | } | ||
953 | else{ | ||
954 | s.DEBUG = true; | ||
955 | MainConsole.Instance.Output("Teleport debugging is enabled!"); | ||
956 | } | ||
957 | } | ||
958 | break; | ||
959 | |||
960 | default: | 945 | default: |
961 | MainConsole.Instance.Output("Unknown debug command"); | 946 | MainConsole.Instance.Output("Unknown debug command"); |
962 | break; | 947 | break; |