Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor

avinationmerge
Tom 2010-08-06 09:54:09 -07:00
commit e941da205b
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 });
}
}
}
}
}
}
}