diff options
author | Tedd Hansen | 2007-08-13 19:39:51 +0000 |
---|---|---|
committer | Tedd Hansen | 2007-08-13 19:39:51 +0000 |
commit | 876f71cf931b887a3132ce719a4cc539b77cbca9 (patch) | |
tree | a1b31e54c85218deedcc257ad693e0ff64d56f81 /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | Setting culture for startup thread to invariant. Config now read correctly on... (diff) | |
download | opensim-SC-876f71cf931b887a3132ce719a4cc539b77cbca9.zip opensim-SC-876f71cf931b887a3132ce719a4cc539b77cbca9.tar.gz opensim-SC-876f71cf931b887a3132ce719a4cc539b77cbca9.tar.bz2 opensim-SC-876f71cf931b887a3132ce719a4cc539b77cbca9.tar.xz |
(DotNet) ScriptEngine is now loaded and added to Scene during startup.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 42d8c27..08722a0 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1012,5 +1012,14 @@ namespace OpenSim.Region.Environment.Scenes | |||
1012 | return result; | 1012 | return result; |
1013 | } | 1013 | } |
1014 | #endregion | 1014 | #endregion |
1015 | |||
1016 | #region Script Engine | ||
1017 | private List<OpenSim.Region.Environment.Scenes.Scripting.ScriptEngineInterface> ScriptEngines = new List<OpenSim.Region.Environment.Scenes.Scripting.ScriptEngineInterface>(); | ||
1018 | public void AddScriptEngine(OpenSim.Region.Environment.Scenes.Scripting.ScriptEngineInterface ScriptEngine) | ||
1019 | { | ||
1020 | ScriptEngines.Add(ScriptEngine); | ||
1021 | ScriptEngine.InitializeEngine(this); | ||
1022 | } | ||
1023 | #endregion | ||
1015 | } | 1024 | } |
1016 | } | 1025 | } |