aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs
diff options
context:
space:
mode:
authorTedd Hansen2008-02-01 20:12:25 +0000
committerTedd Hansen2008-02-01 20:12:25 +0000
commita9c1f3fdb4f7c7de0fe5e61ed0ecad7318137973 (patch)
treeb4f7d09923248de11a88b7faf1f40521e9f1efc6 /OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs
parentHighly experimental (diff)
downloadopensim-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/Common/ScriptEngineBase/ScriptEngine.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs
index da0baba..8b64d3d 100644
--- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs
+++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptEngine.cs
@@ -51,10 +51,15 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
51 public AppDomainManager m_AppDomainManager; 51 public AppDomainManager m_AppDomainManager;
52 public LSLLongCmdHandler m_LSLLongCmdHandler; 52 public LSLLongCmdHandler m_LSLLongCmdHandler;
53 53
54 public IConfigSource ConfigSource;
55 public IConfig ScriptConfigSource;
56 public abstract string ScriptConfigSourceName { get; }
57
54 public ScriptManager GetScriptManager() 58 public ScriptManager GetScriptManager()
55 { 59 {
56 return _GetScriptManager(); 60 return _GetScriptManager();
57 } 61 }
62
58 public abstract ScriptManager _GetScriptManager(); 63 public abstract ScriptManager _GetScriptManager();
59 64
60 private LogBase m_log; 65 private LogBase m_log;
@@ -74,6 +79,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
74 { 79 {
75 World = Sceneworld; 80 World = Sceneworld;
76 m_log = logger; 81 m_log = logger;
82 ScriptConfigSource = ConfigSource.Configs[ScriptConfigSourceName];
77 83
78 Log.Verbose("ScriptEngine", "DotNet & LSL ScriptEngine initializing"); 84 Log.Verbose("ScriptEngine", "DotNet & LSL ScriptEngine initializing");
79 85