aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs16
1 files changed, 0 insertions, 16 deletions
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
321 StoreScriptErrors(item.ItemID, null); 321 StoreScriptErrors(item.ItemID, null);
322 m_part.ParentGroup.AddActiveScriptCount(1); 322 m_part.ParentGroup.AddActiveScriptCount(1);
323 m_part.ScheduleFullUpdate(); 323 m_part.ScheduleFullUpdate();
324
325 //This should play nice with XEngine since XEngine loads scripts /after/ the region starts
326 if (stateSource == 0 && m_part.ParentGroup.Scene.LoginsDisabled == true)
327 {
328 IScriptModule[] engines = m_part.ParentGroup.Scene.RequestModuleInterfaces<IScriptModule>();
329 if (engines != null)
330 {
331 foreach (IScriptModule xengine in engines)
332 {
333 if (xengine != null)
334 {
335 xengine.PostScriptEvent(item.ItemID, "changed", new Object[] { (int)Changed.REGION_RESTART });
336 }
337 }
338 }
339 }
340 } 324 }
341 } 325 }
342 } 326 }