aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
authorCharles Krinke2008-02-10 16:03:58 +0000
committerCharles Krinke2008-02-10 16:03:58 +0000
commitcf284efcda246b8b615bd0eb4e799fe13a29a94b (patch)
treecae5c9c917dab29170dc19ee5d7784df05db7828 /OpenSim/Region/Application
parent* Refactored permissions handling to extract info out of permisisons block in... (diff)
downloadopensim-SC-cf284efcda246b8b615bd0eb4e799fe13a29a94b.zip
opensim-SC-cf284efcda246b8b615bd0eb4e799fe13a29a94b.tar.gz
opensim-SC-cf284efcda246b8b615bd0eb4e799fe13a29a94b.tar.bz2
opensim-SC-cf284efcda246b8b615bd0eb4e799fe13a29a94b.tar.xz
Thank you very much, Hashbox for :
Add scene-debug command to Enable/Disable scripting, collision, and physics from console.
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r--OpenSim/Region/Application/OpenSimMain.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs
index 2328c49..6fd479c 100644
--- a/OpenSim/Region/Application/OpenSimMain.cs
+++ b/OpenSim/Region/Application/OpenSimMain.cs
@@ -678,6 +678,18 @@ namespace OpenSim
678 } 678 }
679 break; 679 break;
680 680
681 case "scene-debug":
682 if (cmdparams.Length == 3) {
683 if (m_sceneManager.CurrentScene == null) {
684 m_console.Error("CONSOLE", "Please use 'change-region <regioname>' first");
685 } else {
686 m_sceneManager.CurrentScene.SetSceneCoreDebug(!System.Convert.ToBoolean(cmdparams[0]), !System.Convert.ToBoolean(cmdparams[1]), !System.Convert.ToBoolean(cmdparams[2]));
687 }
688 } else {
689 m_console.Error("scene-debug <scripting> <collisions> <physics> (where inside <> is true/false)");
690 }
691 break;
692
681 case "help": 693 case "help":
682 m_console.Notice("alert - send alert to a designated user or all users."); 694 m_console.Notice("alert - send alert to a designated user or all users.");
683 m_console.Notice(" alert [First] [Last] [Message] - send an alert to a user. Case sensitive."); 695 m_console.Notice(" alert [First] [Last] [Message] - send an alert to a user. Case sensitive.");
@@ -689,6 +701,7 @@ namespace OpenSim
689 m_console.Notice("command-script [filename] - Execute command in a file."); 701 m_console.Notice("command-script [filename] - Execute command in a file.");
690 m_console.Notice("debug - debugging commands"); 702 m_console.Notice("debug - debugging commands");
691 m_console.Notice(" packet 0..255 - print incoming/outgoing packets (0=off)"); 703 m_console.Notice(" packet 0..255 - print incoming/outgoing packets (0=off)");
704 m_console.Notice("scene-debug [scripting] [collision] [physics] - Enable/Disable debug stuff, each can be True/False");
692 m_console.Notice("edit-scale [prim name] [x] [y] [z] - resize given prim"); 705 m_console.Notice("edit-scale [prim name] [x] [y] [z] - resize given prim");
693 m_console.Notice("export-map [filename] - save image of world map"); 706 m_console.Notice("export-map [filename] - save image of world map");
694 m_console.Notice("force-update - force an update of prims in the scene"); 707 m_console.Notice("force-update - force an update of prims in the scene");