aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorMelanie2011-05-24 00:53:28 +0200
committerMelanie2011-05-24 01:19:48 +0100
commit178d541dcaa2d8258e3820b39818d8fd69def72e (patch)
treeae6a26a85213f6e4f6b5a830f3c5ab5588745774 /OpenSim/Region/Framework/Scenes/Scene.cs
parentFix Mantis #4429: Allow llGiveInventory to work across sim borders. (diff)
downloadopensim-SC_OLD-178d541dcaa2d8258e3820b39818d8fd69def72e.zip
opensim-SC_OLD-178d541dcaa2d8258e3820b39818d8fd69def72e.tar.gz
opensim-SC_OLD-178d541dcaa2d8258e3820b39818d8fd69def72e.tar.bz2
opensim-SC_OLD-178d541dcaa2d8258e3820b39818d8fd69def72e.tar.xz
Add an event for an orderly region shutdown that fires once per region before
the SceneGraph is torn down.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index b9690fe..eabc9a6 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1064,6 +1064,8 @@ namespace OpenSim.Region.Framework.Scenes
1064 shuttingdown = true; 1064 shuttingdown = true;
1065 1065
1066 m_log.Debug("[SCENE]: Persisting changed objects"); 1066 m_log.Debug("[SCENE]: Persisting changed objects");
1067 EventManager.TriggerSceneShuttingDown(this);
1068
1067 EntityBase[] entities = GetEntities(); 1069 EntityBase[] entities = GetEntities();
1068 foreach (EntityBase entity in entities) 1070 foreach (EntityBase entity in entities)
1069 { 1071 {