minor: correct indentation levels
parent
64217d67f6
commit
5f1da80fc1
|
@ -282,19 +282,18 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
|
||||||
{
|
{
|
||||||
m_Apis[api] = am.CreateApi(api);
|
m_Apis[api] = am.CreateApi(api);
|
||||||
m_Apis[api].Initialize(engine, part, m_LocalID, itemID);
|
m_Apis[api].Initialize(engine, part, m_LocalID, itemID);
|
||||||
}
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (dom != System.AppDomain.CurrentDomain)
|
if (dom != System.AppDomain.CurrentDomain)
|
||||||
m_Script = (IScript)dom.CreateInstanceAndUnwrap(
|
m_Script = (IScript)dom.CreateInstanceAndUnwrap(
|
||||||
Path.GetFileNameWithoutExtension(assembly),
|
Path.GetFileNameWithoutExtension(assembly),
|
||||||
"SecondLife.Script");
|
"SecondLife.Script");
|
||||||
else
|
else
|
||||||
m_Script = (IScript)Assembly.Load(
|
m_Script = (IScript)Assembly.Load(
|
||||||
Path.GetFileNameWithoutExtension(assembly)).CreateInstance(
|
Path.GetFileNameWithoutExtension(assembly)).CreateInstance(
|
||||||
"SecondLife.Script");
|
"SecondLife.Script");
|
||||||
|
|
||||||
|
|
||||||
//ILease lease = (ILease)RemotingServices.GetLifetimeService(m_Script as ScriptBaseClass);
|
//ILease lease = (ILease)RemotingServices.GetLifetimeService(m_Script as ScriptBaseClass);
|
||||||
//RemotingServices.GetLifetimeService(m_Script as ScriptBaseClass);
|
//RemotingServices.GetLifetimeService(m_Script as ScriptBaseClass);
|
||||||
|
|
Loading…
Reference in New Issue