aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-07-26 20:13:26 +0100
committerJustin Clark-Casey (justincc)2010-07-26 23:34:22 +0100
commit586ae0f6a07358f8367c4f916bff9fd688a43aa3 (patch)
treef6784a92603ed9e31a235316d32fac9e88c7b075 /OpenSim/Region/Framework/Scenes/Scene.cs
parentPut a wrapper around the media texture region serialization (diff)
downloadopensim-SC_OLD-586ae0f6a07358f8367c4f916bff9fd688a43aa3.zip
opensim-SC_OLD-586ae0f6a07358f8367c4f916bff9fd688a43aa3.tar.gz
opensim-SC_OLD-586ae0f6a07358f8367c4f916bff9fd688a43aa3.tar.bz2
opensim-SC_OLD-586ae0f6a07358f8367c4f916bff9fd688a43aa3.tar.xz
Add EventManager.OnSceneObjectLoaded() for future use. This is fired immediately after a scene object is loaded from storage.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 9141d44..e8dce08 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1887,9 +1887,11 @@ namespace OpenSim.Region.Framework.Scenes
1887 1887
1888 foreach (SceneObjectGroup group in PrimsFromDB) 1888 foreach (SceneObjectGroup group in PrimsFromDB)
1889 { 1889 {
1890 EventManager.TriggerOnSceneObjectLoaded(group);
1891
1890 if (group.RootPart == null) 1892 if (group.RootPart == null)
1891 { 1893 {
1892 m_log.ErrorFormat("[SCENE] Found a SceneObjectGroup with m_rootPart == null and {0} children", 1894 m_log.ErrorFormat("[SCENE]: Found a SceneObjectGroup with m_rootPart == null and {0} children",
1893 group.Children == null ? 0 : group.Children.Count); 1895 group.Children == null ? 0 : group.Children.Count);
1894 } 1896 }
1895 1897