aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-03-15 01:26:38 +0000
committerJustin Clark-Casey (justincc)2012-03-15 01:26:38 +0000
commitf0c1746063dff537d83babcf617b7cf88ed612dc (patch)
tree9412b12444cd5e0f27ce83e30d471aa35cca3736 /OpenSim/Region/ScriptEngine
parentRemove duplication of m_RunEvents and Running (diff)
downloadopensim-SC-f0c1746063dff537d83babcf617b7cf88ed612dc.zip
opensim-SC-f0c1746063dff537d83babcf617b7cf88ed612dc.tar.gz
opensim-SC-f0c1746063dff537d83babcf617b7cf88ed612dc.tar.bz2
opensim-SC-f0c1746063dff537d83babcf617b7cf88ed612dc.tar.xz
minor: correct indentation levels
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs25
1 files changed, 12 insertions, 13 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
index cc4be73..afa9191 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
@@ -282,19 +282,18 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
282 { 282 {
283 m_Apis[api] = am.CreateApi(api); 283 m_Apis[api] = am.CreateApi(api);
284 m_Apis[api].Initialize(engine, part, m_LocalID, itemID); 284 m_Apis[api].Initialize(engine, part, m_LocalID, itemID);
285 } 285 }
286 286
287 try 287 try
288 { 288 {
289 if (dom != System.AppDomain.CurrentDomain) 289 if (dom != System.AppDomain.CurrentDomain)
290 m_Script = (IScript)dom.CreateInstanceAndUnwrap( 290 m_Script = (IScript)dom.CreateInstanceAndUnwrap(
291 Path.GetFileNameWithoutExtension(assembly), 291 Path.GetFileNameWithoutExtension(assembly),
292 "SecondLife.Script"); 292 "SecondLife.Script");
293 else 293 else
294 m_Script = (IScript)Assembly.Load( 294 m_Script = (IScript)Assembly.Load(
295 Path.GetFileNameWithoutExtension(assembly)).CreateInstance( 295 Path.GetFileNameWithoutExtension(assembly)).CreateInstance(
296 "SecondLife.Script"); 296 "SecondLife.Script");
297
298 297
299 //ILease lease = (ILease)RemotingServices.GetLifetimeService(m_Script as ScriptBaseClass); 298 //ILease lease = (ILease)RemotingServices.GetLifetimeService(m_Script as ScriptBaseClass);
300 //RemotingServices.GetLifetimeService(m_Script as ScriptBaseClass); 299 //RemotingServices.GetLifetimeService(m_Script as ScriptBaseClass);