Replace "scene debug true false true" console command with "scene debug scripting true" or other parameters as appropriate.

This is to allow individual switching of scene debug settings and to provide flexibiltiy for additional settings.
This commit is contained in:
Justin Clark-Casey (justincc)
2012-03-21 01:02:58 +00:00
parent 7a0d7be44c
commit 9671e43497
3 changed files with 46 additions and 38 deletions

View File

@@ -670,7 +670,13 @@ namespace OpenSim.Region.CoreModules.World.Estate
Scene.RegionInfo.RegionSettings.Save();
TriggerRegionInfoChange();
Scene.SetSceneCoreDebug(disableScripts, disableCollisions, disablePhysics);
Scene.SetSceneCoreDebug(
new Dictionary<string, string>() {
{ "scripting", (!disableScripts).ToString() },
{ "collisions", (!disableCollisions).ToString() },
{ "physics", (!disablePhysics).ToString() }
}
);
}
private void handleEstateTeleportOneUserHomeRequest(IClientAPI remover_client, UUID invoice, UUID senderID, UUID prey)