diff options
author | Justin Clark-Casey (justincc) | 2012-05-08 22:58:34 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-05-08 23:05:01 +0100 |
commit | 01b78235db71994ba3e37bd6ea297bed7e4576b9 (patch) | |
tree | 91a89fd18939632973180287f78085723b6b9b9c /OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs | |
parent | Perform SceneGraph.DuplicateObject() under existing m_updateLock already used... (diff) | |
download | opensim-SC-01b78235db71994ba3e37bd6ea297bed7e4576b9.zip opensim-SC-01b78235db71994ba3e37bd6ea297bed7e4576b9.tar.gz opensim-SC-01b78235db71994ba3e37bd6ea297bed7e4576b9.tar.bz2 opensim-SC-01b78235db71994ba3e37bd6ea297bed7e4576b9.tar.xz |
Instead of constantly looking up unchanging self item in script code, pass in self item on initialization.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs index 92a63bf..bba6c56 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs | |||
@@ -66,8 +66,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
66 | engine.AddRegion(scene); | 66 | engine.AddRegion(scene); |
67 | 67 | ||
68 | m_lslApi = new LSL_Api(); | 68 | m_lslApi = new LSL_Api(); |
69 | m_lslApi.Initialize(engine, part, part.LocalId, part.UUID); | 69 | m_lslApi.Initialize(engine, part, part.LocalId, null); |
70 | |||
71 | } | 70 | } |
72 | 71 | ||
73 | [Test] | 72 | [Test] |