diff options
author | Justin Clark-Casey (justincc) | 2010-07-26 20:36:28 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-07-26 23:34:22 +0100 |
commit | b51b2efdc8059548e1da7ac13ee858673b71592f (patch) | |
tree | 048058e0bd7bf71ddac8cc9b7985a8454f4ddd24 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | Add EventManager.OnSceneObjectLoaded() for future use. This is fired immedia... (diff) | |
download | opensim-SC_OLD-b51b2efdc8059548e1da7ac13ee858673b71592f.zip opensim-SC_OLD-b51b2efdc8059548e1da7ac13ee858673b71592f.tar.gz opensim-SC_OLD-b51b2efdc8059548e1da7ac13ee858673b71592f.tar.bz2 opensim-SC_OLD-b51b2efdc8059548e1da7ac13ee858673b71592f.tar.xz |
Add EventManager.OnSceneObjectPreSave() for future use. This is triggered immediately before a copy of the group is persisted to storage
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 17275d0..c2f9117 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -1479,6 +1479,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1479 | backup_group.RootPart.ParticleSystem = RootPart.ParticleSystem; | 1479 | backup_group.RootPart.ParticleSystem = RootPart.ParticleSystem; |
1480 | HasGroupChanged = false; | 1480 | HasGroupChanged = false; |
1481 | 1481 | ||
1482 | m_scene.EventManager.TriggerOnSceneObjectPreSave(backup_group, this); | ||
1482 | datastore.StoreObject(backup_group, m_scene.RegionInfo.RegionID); | 1483 | datastore.StoreObject(backup_group, m_scene.RegionInfo.RegionID); |
1483 | 1484 | ||
1484 | backup_group.ForEachPart(delegate(SceneObjectPart part) | 1485 | backup_group.ForEachPart(delegate(SceneObjectPart part) |