From c48be64d9ab82676a2c1894193db42f0a849ae4d Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 6 Aug 2010 16:08:50 +0200 Subject: Remove posting region restart event from SOP, as it's now in XMRe --- .../Region/Framework/Scenes/SceneObjectPartInventory.cs | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'OpenSim/Region/Framework') diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index 4f80a7e..8b4f0ed 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs @@ -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(); - if (engines != null) - { - foreach (IScriptModule xengine in engines) - { - if (xengine != null) - { - xengine.PostScriptEvent(item.ItemID, "changed", new Object[] { (int)Changed.REGION_RESTART }); - } - } - } - } } } } -- cgit v1.1