diff options
author | Tom Grimshaw | 2010-06-25 14:25:39 -0700 |
---|---|---|
committer | Tom Grimshaw | 2010-06-25 14:25:39 -0700 |
commit | 96e649189f24b6261d0bcdd6aa7f5a078b8d3f7f (patch) | |
tree | bb6a58fa723f70a7633fd62ddf6bd1d349964228 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | Remove the prepending slash from the default git repo name (diff) | |
download | opensim-SC-96e649189f24b6261d0bcdd6aa7f5a078b8d3f7f.zip opensim-SC-96e649189f24b6261d0bcdd6aa7f5a078b8d3f7f.tar.gz opensim-SC-96e649189f24b6261d0bcdd6aa7f5a078b8d3f7f.tar.bz2 opensim-SC-96e649189f24b6261d0bcdd6aa7f5a078b8d3f7f.tar.xz |
Add two events: OnAttachToBackup and OnDetachFromBackup.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 3e92954..e18dfd2 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -658,6 +658,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
658 | /// </summary> | 658 | /// </summary> |
659 | public virtual void AttachToBackup() | 659 | public virtual void AttachToBackup() |
660 | { | 660 | { |
661 | m_scene.SceneGraph.FireAttachToBackup(this); | ||
662 | |||
661 | if (InSceneBackup) | 663 | if (InSceneBackup) |
662 | { | 664 | { |
663 | //m_log.DebugFormat( | 665 | //m_log.DebugFormat( |
@@ -2703,6 +2705,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
2703 | /// <param name="objectGroup"></param> | 2705 | /// <param name="objectGroup"></param> |
2704 | public virtual void DetachFromBackup() | 2706 | public virtual void DetachFromBackup() |
2705 | { | 2707 | { |
2708 | m_scene.SceneGraph.FireDetachFromBackup(this); | ||
2709 | |||
2706 | if (m_isBackedUp) | 2710 | if (m_isBackedUp) |
2707 | m_scene.EventManager.OnBackup -= ProcessBackup; | 2711 | m_scene.EventManager.OnBackup -= ProcessBackup; |
2708 | 2712 | ||