aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;