diff options
author | Tedd Hansen | 2008-02-01 20:12:25 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-02-01 20:12:25 +0000 |
commit | a9c1f3fdb4f7c7de0fe5e61ed0ecad7318137973 (patch) | |
tree | b4f7d09923248de11a88b7faf1f40521e9f1efc6 /OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs | |
parent | Highly experimental (diff) | |
download | opensim-SC-a9c1f3fdb4f7c7de0fe5e61ed0ecad7318137973.zip opensim-SC-a9c1f3fdb4f7c7de0fe5e61ed0ecad7318137973.tar.gz opensim-SC-a9c1f3fdb4f7c7de0fe5e61ed0ecad7318137973.tar.bz2 opensim-SC-a9c1f3fdb4f7c7de0fe5e61ed0ecad7318137973.tar.xz |
Experimental
Moved DotNetScriptEngine configuration to config file.
Added option to share script execution threads between regions.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs index 48ac3bb..de168b7 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs | |||
@@ -39,6 +39,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
39 | // We need to override a few things for our DotNetEngine | 39 | // We need to override a few things for our DotNetEngine |
40 | public override void Initialise(Scene scene, IConfigSource config) | 40 | public override void Initialise(Scene scene, IConfigSource config) |
41 | { | 41 | { |
42 | ConfigSource = config; | ||
42 | InitializeEngine(scene, MainLog.Instance, true, GetScriptManager()); | 43 | InitializeEngine(scene, MainLog.Instance, true, GetScriptManager()); |
43 | } | 44 | } |
44 | 45 | ||
@@ -46,5 +47,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
46 | { | 47 | { |
47 | return new ScriptManager(this); | 48 | return new ScriptManager(this); |
48 | } | 49 | } |
50 | |||
51 | public override string ScriptConfigSourceName | ||
52 | { | ||
53 | get { return "ScriptEngine.DotNetEngine"; } | ||
54 | } | ||
49 | } | 55 | } |
50 | } \ No newline at end of file | 56 | } \ No newline at end of file |