aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs b/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs
index 2771492..263ee57 100644
--- a/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs
+++ b/OpenSim/Region/CoreModules/World/Media/Moap/MoapModule.cs
@@ -101,6 +101,7 @@ namespace OpenSim.Region.CoreModules.Media.Moap
101 m_scene.EventManager.OnRegisterCaps += OnRegisterCaps; 101 m_scene.EventManager.OnRegisterCaps += OnRegisterCaps;
102 m_scene.EventManager.OnDeregisterCaps += OnDeregisterCaps; 102 m_scene.EventManager.OnDeregisterCaps += OnDeregisterCaps;
103 m_scene.EventManager.OnSceneObjectLoaded += OnSceneObjectLoaded; 103 m_scene.EventManager.OnSceneObjectLoaded += OnSceneObjectLoaded;
104 m_scene.EventManager.OnSceneObjectPreSave += OnSceneObjectPreSave;
104 } 105 }
105 106
106 public void Close() 107 public void Close()
@@ -108,6 +109,7 @@ namespace OpenSim.Region.CoreModules.Media.Moap
108 m_scene.EventManager.OnRegisterCaps -= OnRegisterCaps; 109 m_scene.EventManager.OnRegisterCaps -= OnRegisterCaps;
109 m_scene.EventManager.OnDeregisterCaps -= OnDeregisterCaps; 110 m_scene.EventManager.OnDeregisterCaps -= OnDeregisterCaps;
110 m_scene.EventManager.OnSceneObjectLoaded -= OnSceneObjectLoaded; 111 m_scene.EventManager.OnSceneObjectLoaded -= OnSceneObjectLoaded;
112 m_scene.EventManager.OnSceneObjectPreSave -= OnSceneObjectPreSave;
111 } 113 }
112 114
113 public void OnRegisterCaps(UUID agentID, Caps caps) 115 public void OnRegisterCaps(UUID agentID, Caps caps)
@@ -157,11 +159,16 @@ namespace OpenSim.Region.CoreModules.Media.Moap
157 } 159 }
158 } 160 }
159 161
160 public void OnSceneObjectLoaded(SceneObjectGroup sog) 162 public void OnSceneObjectLoaded(SceneObjectGroup so)
161 { 163 {
162 m_log.DebugFormat("[MOAP]: OnSceneObjectLoaded fired for {0} {1}", sog.Name, sog.UUID); 164 m_log.DebugFormat("[MOAP]: OnSceneObjectLoaded fired for {0} {1}", so.Name, so.UUID);
163 } 165 }
164 166
167 public void OnSceneObjectPreSave(SceneObjectGroup persistingSo, SceneObjectGroup originalSo)
168 {
169 m_log.DebugFormat("[MOAP]: OnSceneObjectPreSave fired for {0} {1}", persistingSo.Name, persistingSo.UUID);
170 }
171
165 public MediaEntry GetMediaEntry(SceneObjectPart part, int face) 172 public MediaEntry GetMediaEntry(SceneObjectPart part, int face)
166 { 173 {
167 MediaEntry me = null; 174 MediaEntry me = null;