aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-03-21 01:13:44 +0000
committerJustin Clark-Casey (justincc)2012-03-21 01:13:44 +0000
commitab243f4a5794e6b7b9a414c2e1bb57d3d0abfb75 (patch)
tree55129150822b98fa4dfac783eed9f0b2b75e2587 /OpenSim/Region/Application
parentReplace "scene debug true false true" console command with "scene debug scrip... (diff)
downloadopensim-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.cs17
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;