aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-01-10 23:49:48 +0000
committerJustin Clark-Casey (justincc)2013-01-25 23:50:15 +0000
commit0ba0ac4669e6bc1061ab024d23c1c2db3059a871 (patch)
treed2b4b3768e1d233f91388bf20c46456291c6ef25 /OpenSim/Region/CoreModules/World
parentminor: Capitalize GroupsModule command category (diff)
downloadopensim-SC_OLD-0ba0ac4669e6bc1061ab024d23c1c2db3059a871.zip
opensim-SC_OLD-0ba0ac4669e6bc1061ab024d23c1c2db3059a871.tar.gz
opensim-SC_OLD-0ba0ac4669e6bc1061ab024d23c1c2db3059a871.tar.bz2
opensim-SC_OLD-0ba0ac4669e6bc1061ab024d23c1c2db3059a871.tar.xz
Move scene debug commands into separate module. Command changes from "debug scene <key> <value>" to "debug scene set <key> <value>" to accomodate future settings
Diffstat (limited to 'OpenSim/Region/CoreModules/World')
-rw-r--r--OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs19
1 files changed, 12 insertions, 7 deletions
diff --git a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs
index eb06fcc..311707b 100644
--- a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs
+++ b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs
@@ -753,13 +753,18 @@ namespace OpenSim.Region.CoreModules.World.Estate
753 Scene.RegionInfo.RegionSettings.Save(); 753 Scene.RegionInfo.RegionSettings.Save();
754 TriggerRegionInfoChange(); 754 TriggerRegionInfoChange();
755 755
756 Scene.SetSceneCoreDebug( 756 ISceneCommandsModule scm = Scene.RequestModuleInterface<ISceneCommandsModule>();
757 new Dictionary<string, string>() { 757
758 { "scripting", (!disableScripts).ToString() }, 758 if (scm != null)
759 { "collisions", (!disableCollisions).ToString() }, 759 {
760 { "physics", (!disablePhysics).ToString() } 760 scm.SetSceneDebugOptions(
761 } 761 new Dictionary<string, string>() {
762 ); 762 { "scripting", (!disableScripts).ToString() },
763 { "collisions", (!disableCollisions).ToString() },
764 { "physics", (!disablePhysics).ToString() }
765 }
766 );
767 }
763 } 768 }
764 769
765 private void handleEstateTeleportOneUserHomeRequest(IClientAPI remover_client, UUID invoice, UUID senderID, UUID prey) 770 private void handleEstateTeleportOneUserHomeRequest(IClientAPI remover_client, UUID invoice, UUID senderID, UUID prey)