aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-07-26 20:36:28 +0100
committerJustin Clark-Casey (justincc)2010-07-26 20:36:28 +0100
commitc70d57ff983d42b6898d766eb5536e56868b3213 (patch)
tree326eb90579dd02f15ebafe5017f405e03a55ffbf /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
parentAdd EventManager.OnSceneObjectLoaded() for future use. This is fired immedia... (diff)
downloadopensim-SC_OLD-c70d57ff983d42b6898d766eb5536e56868b3213.zip
opensim-SC_OLD-c70d57ff983d42b6898d766eb5536e56868b3213.tar.gz
opensim-SC_OLD-c70d57ff983d42b6898d766eb5536e56868b3213.tar.bz2
opensim-SC_OLD-c70d57ff983d42b6898d766eb5536e56868b3213.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 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 1ca390a..451b93e 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)