From fcf7db72728174a628e62ae9d98a3c0090217728 Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Fri, 17 Aug 2007 21:24:38 +0000 Subject: 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. --- OpenSim/Region/Application/OpenSimMain.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Application/OpenSimMain.cs') 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 OpenSim.Region.Environment.Scenes.Scripting.ScriptEngineInterface ScriptEngine = ScriptEngineLoader.LoadScriptEngine("DotNetEngine"); scene.AddScriptEngine(ScriptEngine, m_log); // TODO: TEMP load default script - ScriptEngine.StartScript(Path.Combine("ScriptEngines", "Default.lsl"), "TEST"); + ScriptEngine.StartScript(Path.Combine("ScriptEngines", "Default.lsl"), new OpenSim.Region.Environment.Scenes.Scripting.NullScriptHost()); m_localScenes.Add(scene); -- cgit v1.1