aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Instance
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-05-08 23:20:27 +0100
committerJustin Clark-Casey (justincc)2012-05-08 23:20:27 +0100
commit6406d5a5b9c1c4ef261254e7d4446603b496d1fd (patch)
treedde37d6079f7c1679985f02add6fd6cf52410b00 /OpenSim/Region/ScriptEngine/Shared/Instance
parentInstead of constantly looking up unchanging self item in script code, pass in... (diff)
downloadopensim-SC_OLD-6406d5a5b9c1c4ef261254e7d4446603b496d1fd.zip
opensim-SC_OLD-6406d5a5b9c1c4ef261254e7d4446603b496d1fd.tar.gz
opensim-SC_OLD-6406d5a5b9c1c4ef261254e7d4446603b496d1fd.tar.bz2
opensim-SC_OLD-6406d5a5b9c1c4ef261254e7d4446603b496d1fd.tar.xz
refactor: Eliminate local id parameter from api initialize.
This is always available from m_host.LocalId
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Instance')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
index dd47393..329e361 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
@@ -232,7 +232,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
232 foreach (string api in am.GetApis()) 232 foreach (string api in am.GetApis())
233 { 233 {
234 m_Apis[api] = am.CreateApi(api); 234 m_Apis[api] = am.CreateApi(api);
235 m_Apis[api].Initialize(engine, part, LocalID, ScriptTask); 235 m_Apis[api].Initialize(engine, part, ScriptTask);
236 } 236 }
237 237
238 try 238 try