diff options
author | Diva Canto | 2011-06-08 15:18:14 -0700 |
---|---|---|
committer | Diva Canto | 2011-06-08 15:18:14 -0700 |
commit | 9759b2a4bb5e5e2bed4c74cea05be58640c8e7c3 (patch) | |
tree | a65fadc5299dcdcf98e507ceb017dde94f4b3e2a /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Deleted wrong debug message. (diff) | |
download | opensim-SC_OLD-9759b2a4bb5e5e2bed4c74cea05be58640c8e7c3.zip opensim-SC_OLD-9759b2a4bb5e5e2bed4c74cea05be58640c8e7c3.tar.gz opensim-SC_OLD-9759b2a4bb5e5e2bed4c74cea05be58640c8e7c3.tar.bz2 opensim-SC_OLD-9759b2a4bb5e5e2bed4c74cea05be58640c8e7c3.tar.xz |
Added EventManager.OnPrimsLoaded, an event that modules can hook up onto so that they know when the scene's objects have been loaded from the DB.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 588d627..f122b58 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -1754,6 +1754,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1754 | 1754 | ||
1755 | m_log.Info("[SCENE]: Loaded " + PrimsFromDB.Count.ToString() + " SceneObject(s)"); | 1755 | m_log.Info("[SCENE]: Loaded " + PrimsFromDB.Count.ToString() + " SceneObject(s)"); |
1756 | LoadingPrims = false; | 1756 | LoadingPrims = false; |
1757 | EventManager.TriggerPrimsLoaded(this); | ||
1757 | } | 1758 | } |
1758 | 1759 | ||
1759 | 1760 | ||