aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie Thielker2010-08-06 16:08:50 +0200
committerMelanie Thielker2010-08-06 16:08:50 +0200
commitc48be64d9ab82676a2c1894193db42f0a849ae4d (patch)
tree79b5bf111449ba1d029abc52842ce579bd332932
parentChange XEngine to use the new constant (diff)
downloadopensim-SC-c48be64d9ab82676a2c1894193db42f0a849ae4d.zip
opensim-SC-c48be64d9ab82676a2c1894193db42f0a849ae4d.tar.gz
opensim-SC-c48be64d9ab82676a2c1894193db42f0a849ae4d.tar.bz2
opensim-SC-c48be64d9ab82676a2c1894193db42f0a849ae4d.tar.xz
Remove posting region restart event from SOP, as it's now in XMRe
Diffstat (limited to '')
-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 }