Remove posting region restart event from SOP, as it's now in XMRe

avinationmerge
Melanie Thielker 2010-08-06 16:08:50 +02:00
parent 696c2c429b
commit c48be64d9a
1 changed files with 0 additions and 16 deletions

View File

@ -321,22 +321,6 @@ namespace OpenSim.Region.Framework.Scenes
StoreScriptErrors(item.ItemID, null);
m_part.ParentGroup.AddActiveScriptCount(1);
m_part.ScheduleFullUpdate();
//This should play nice with XEngine since XEngine loads scripts /after/ the region starts
if (stateSource == 0 && m_part.ParentGroup.Scene.LoginsDisabled == true)
{
IScriptModule[] engines = m_part.ParentGroup.Scene.RequestModuleInterfaces<IScriptModule>();
if (engines != null)
{
foreach (IScriptModule xengine in engines)
{
if (xengine != null)
{
xengine.PostScriptEvent(item.ItemID, "changed", new Object[] { (int)Changed.REGION_RESTART });
}
}
}
}
}
}
}