diff options
author | Justin Clark-Casey (justincc) | 2011-07-23 02:31:00 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-07-23 02:31:00 +0100 |
commit | ea58aee338a1e1fa0b1ecc8898c38686c12be44c (patch) | |
tree | 9b8d04518a6868e93cd17abf6200851c10508cf5 /bin/OpenSimDefaults.ini | |
parent | Fixed serverside_object_permission default value confliction (diff) | |
download | opensim-SC-ea58aee338a1e1fa0b1ecc8898c38686c12be44c.zip opensim-SC-ea58aee338a1e1fa0b1ecc8898c38686c12be44c.tar.gz opensim-SC-ea58aee338a1e1fa0b1ecc8898c38686c12be44c.tar.bz2 opensim-SC-ea58aee338a1e1fa0b1ecc8898c38686c12be44c.tar.xz |
Change default AllowScriptCrossings config setting to true.
When this setting is false and other defaults haven't been changed, scripts entering the simulator from another sim are automatically restarted but their state is not preserved.
When this setting is true, state that accompanies the script is reloaded (e.g. if a script had a variable i = 1 when leaving the source region, it will still have i = 1 on the destination region).
This setting does not affect crossings when regions are run in the same simulator. In this case, state is already preserved.
Diffstat (limited to 'bin/OpenSimDefaults.ini')
-rw-r--r-- | bin/OpenSimDefaults.ini | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index a7e40db..b689f88 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini | |||
@@ -77,8 +77,10 @@ | |||
77 | ; This can be overriden in the region config file. | 77 | ; This can be overriden in the region config file. |
78 | ClampPrimSize = false | 78 | ClampPrimSize = false |
79 | 79 | ||
80 | ; Allow scripts to keep running when they cross region boundaries, rather than being restarted. Script code is recompiled on the destination region and the state reloaded. | 80 | ; Allow scripts to keep running when they cross region boundaries, rather than being restarted. State is reloaded on the destination region. |
81 | AllowScriptCrossing = false | 81 | ; This only applies when crossing to a region running in a different simulator. |
82 | ; For crossings where the regions are on the same simulator the script is always kept running. | ||
83 | AllowScriptCrossing = true | ||
82 | 84 | ||
83 | ; Allow compiled script binary code to cross region boundaries. | 85 | ; Allow compiled script binary code to cross region boundaries. |
84 | ; If you set this to "true", any region that can teleport to you can | 86 | ; If you set this to "true", any region that can teleport to you can |