diff options
author | Adam Frisby | 2007-07-17 23:14:19 +0000 |
---|---|---|
committer | Adam Frisby | 2007-07-17 23:14:19 +0000 |
commit | 9fc72755ce137814d27edeb55e8c82c0124815ca (patch) | |
tree | 4edc564d3efc0335019646a0ab50034cef384be5 /OpenSim/Region/Environment/Scenes/scripting/Engines | |
parent | * Working more on the Interpreted Script API (for use in scripts which have t... (diff) | |
download | opensim-SC-9fc72755ce137814d27edeb55e8c82c0124815ca.zip opensim-SC-9fc72755ce137814d27edeb55e8c82c0124815ca.tar.gz opensim-SC-9fc72755ce137814d27edeb55e8c82c0124815ca.tar.bz2 opensim-SC-9fc72755ce137814d27edeb55e8c82c0124815ca.tar.xz |
* More LSL related fun
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/scripting/Engines')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/scripting/Engines/LSLEngine/LSLScript.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/scripting/Engines/LSLEngine/LSLScriptEngine.cs | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/scripting/Engines/LSLEngine/LSLScript.cs b/OpenSim/Region/Environment/Scenes/scripting/Engines/LSLEngine/LSLScript.cs index 1d82cd2..4ee4d37 100644 --- a/OpenSim/Region/Environment/Scenes/scripting/Engines/LSLEngine/LSLScript.cs +++ b/OpenSim/Region/Environment/Scenes/scripting/Engines/LSLEngine/LSLScript.cs | |||
@@ -12,8 +12,10 @@ namespace OpenSim.Region.Scripting.LSL | |||
12 | ScriptInfo scriptInfo; | 12 | ScriptInfo scriptInfo; |
13 | LSL.Engine lindenScriptEngine; | 13 | LSL.Engine lindenScriptEngine; |
14 | 14 | ||
15 | public LSLScript(string filename) | 15 | public LSLScript(string filename, libsecondlife.LLUUID taskObject) |
16 | { | 16 | { |
17 | scriptInfo.CreateTaskAPI(taskObject); | ||
18 | |||
17 | lindenScriptEngine = new Engine(); | 19 | lindenScriptEngine = new Engine(); |
18 | lindenScriptEngine.Start(filename); | 20 | lindenScriptEngine.Start(filename); |
19 | } | 21 | } |
diff --git a/OpenSim/Region/Environment/Scenes/scripting/Engines/LSLEngine/LSLScriptEngine.cs b/OpenSim/Region/Environment/Scenes/scripting/Engines/LSLEngine/LSLScriptEngine.cs index 65f73dd..10706ad 100644 --- a/OpenSim/Region/Environment/Scenes/scripting/Engines/LSLEngine/LSLScriptEngine.cs +++ b/OpenSim/Region/Environment/Scenes/scripting/Engines/LSLEngine/LSLScriptEngine.cs | |||
@@ -16,7 +16,7 @@ namespace OpenSim.Region.Scripting | |||
16 | 16 | ||
17 | public Dictionary<string, IScript> compile(string filename) | 17 | public Dictionary<string, IScript> compile(string filename) |
18 | { | 18 | { |
19 | LSLScript script = new LSLScript(filename); | 19 | LSLScript script = new LSLScript(filename, libsecondlife.LLUUID.Zero); |
20 | Dictionary<string, IScript> returns = new Dictionary<string, IScript>(); | 20 | Dictionary<string, IScript> returns = new Dictionary<string, IScript>(); |
21 | 21 | ||
22 | returns.Add(filename, script); | 22 | returns.Add(filename, script); |