mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 11:25:39 +08:00
Experimental
Moved DotNetScriptEngine configuration to config file. Added option to share script execution threads between regions.
This commit is contained in:
@@ -39,6 +39,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||
// We need to override a few things for our DotNetEngine
|
||||
public override void Initialise(Scene scene, IConfigSource config)
|
||||
{
|
||||
ConfigSource = config;
|
||||
InitializeEngine(scene, MainLog.Instance, true, GetScriptManager());
|
||||
}
|
||||
|
||||
@@ -46,5 +47,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||
{
|
||||
return new ScriptManager(this);
|
||||
}
|
||||
|
||||
public override string ScriptConfigSourceName
|
||||
{
|
||||
get { return "ScriptEngine.DotNetEngine"; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user