diff options
author | Tedd Hansen | 2007-08-17 21:24:38 +0000 |
---|---|---|
committer | Tedd Hansen | 2007-08-17 21:24:38 +0000 |
commit | fcf7db72728174a628e62ae9d98a3c0090217728 (patch) | |
tree | 2eb9138fd0c0cfb46aa44c74cb8cda75fce40f92 /OpenSim/Region/Application/OpenSimMain.cs | |
parent | Removed RAIL test from startup for now... (diff) | |
download | opensim-SC-fcf7db72728174a628e62ae9d98a3c0090217728.zip opensim-SC-fcf7db72728174a628e62ae9d98a3c0090217728.tar.gz opensim-SC-fcf7db72728174a628e62ae9d98a3c0090217728.tar.bz2 opensim-SC-fcf7db72728174a628e62ae9d98a3c0090217728.tar.xz |
Pimped up Default.lsl. Now featuring a touch counter.
Changed "ObjectID" in ScriptEngine to IScriptHost reference. Events will now be queued based on IScriptHost reference instead of string ID of object. Removed "root" object reference in script.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index e58fb2a..7249c5d 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -181,7 +181,7 @@ namespace OpenSim | |||
181 | OpenSim.Region.Environment.Scenes.Scripting.ScriptEngineInterface ScriptEngine = ScriptEngineLoader.LoadScriptEngine("DotNetEngine"); | 181 | OpenSim.Region.Environment.Scenes.Scripting.ScriptEngineInterface ScriptEngine = ScriptEngineLoader.LoadScriptEngine("DotNetEngine"); |
182 | scene.AddScriptEngine(ScriptEngine, m_log); | 182 | scene.AddScriptEngine(ScriptEngine, m_log); |
183 | // TODO: TEMP load default script | 183 | // TODO: TEMP load default script |
184 | ScriptEngine.StartScript(Path.Combine("ScriptEngines", "Default.lsl"), "TEST"); | 184 | ScriptEngine.StartScript(Path.Combine("ScriptEngines", "Default.lsl"), new OpenSim.Region.Environment.Scenes.Scripting.NullScriptHost()); |
185 | 185 | ||
186 | 186 | ||
187 | m_localScenes.Add(scene); | 187 | m_localScenes.Add(scene); |