aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorTom2010-08-06 09:54:09 -0700
committerTom2010-08-06 09:54:09 -0700
commite941da205bd5fa5170272b5ac24a7424d3329fb3 (patch)
tree67426147b68c7d03edb1d1321fe33a02ba505b5e /OpenSim/Region/Framework
parentEstate managers should be allowed to add and remove new users, groups and ban... (diff)
parentMerge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/ca... (diff)
downloadopensim-SC_OLD-e941da205bd5fa5170272b5ac24a7424d3329fb3.zip
opensim-SC_OLD-e941da205bd5fa5170272b5ac24a7424d3329fb3.tar.gz
opensim-SC_OLD-e941da205bd5fa5170272b5ac24a7424d3329fb3.tar.bz2
opensim-SC_OLD-e941da205bd5fa5170272b5ac24a7424d3329fb3.tar.xz
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/Framework')
-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 }