diff options
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs | 19 |
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 9aee491..a5f5749 100644 --- a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs | |||
@@ -780,13 +780,18 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
780 | Scene.RegionInfo.RegionSettings.Save(); | 780 | Scene.RegionInfo.RegionSettings.Save(); |
781 | TriggerRegionInfoChange(); | 781 | TriggerRegionInfoChange(); |
782 | 782 | ||
783 | Scene.SetSceneCoreDebug( | 783 | ISceneCommandsModule scm = Scene.RequestModuleInterface<ISceneCommandsModule>(); |
784 | new Dictionary<string, string>() { | 784 | |
785 | { "scripting", (!disableScripts).ToString() }, | 785 | if (scm != null) |
786 | { "collisions", (!disableCollisions).ToString() }, | 786 | { |
787 | { "physics", (!disablePhysics).ToString() } | 787 | scm.SetSceneDebugOptions( |
788 | } | 788 | new Dictionary<string, string>() { |
789 | ); | 789 | { "scripting", (!disableScripts).ToString() }, |
790 | { "collisions", (!disableCollisions).ToString() }, | ||
791 | { "physics", (!disablePhysics).ToString() } | ||
792 | } | ||
793 | ); | ||
794 | } | ||
790 | } | 795 | } |
791 | 796 | ||
792 | private void handleEstateTeleportOneUserHomeRequest(IClientAPI remover_client, UUID invoice, UUID senderID, UUID prey) | 797 | private void handleEstateTeleportOneUserHomeRequest(IClientAPI remover_client, UUID invoice, UUID senderID, UUID prey) |