diff options
author | Justin Clark-Casey (justincc) | 2010-07-26 20:13:26 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-07-26 20:13:26 +0100 |
commit | 491b8181ad4fcb0a8002ee2406703b89c4928219 (patch) | |
tree | 13f60a62904e1993c36baf6a3f88af95a68bc5cc /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Put a wrapper around the media texture region serialization (diff) | |
download | opensim-SC_OLD-491b8181ad4fcb0a8002ee2406703b89c4928219.zip opensim-SC_OLD-491b8181ad4fcb0a8002ee2406703b89c4928219.tar.gz opensim-SC_OLD-491b8181ad4fcb0a8002ee2406703b89c4928219.tar.bz2 opensim-SC_OLD-491b8181ad4fcb0a8002ee2406703b89c4928219.tar.xz |
Add EventManager.OnSceneObjectLoaded() for future use. This is fired immediately after a scene object is loaded from storage.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index e2ab643..5542a0c 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 | ||