aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index fe34ad4..df4bd0d 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -3034,7 +3034,8 @@ namespace OpenSim.Region.Framework.Scenes
3034 /// <param name="objectGroup"></param> 3034 /// <param name="objectGroup"></param>
3035 public virtual void DetachFromBackup() 3035 public virtual void DetachFromBackup()
3036 { 3036 {
3037 m_scene.SceneGraph.FireDetachFromBackup(this); 3037 if (m_scene != null)
3038 m_scene.SceneGraph.FireDetachFromBackup(this);
3038 if (m_isBackedUp && Scene != null) 3039 if (m_isBackedUp && Scene != null)
3039 m_scene.EventManager.OnBackup -= ProcessBackup; 3040 m_scene.EventManager.OnBackup -= ProcessBackup;
3040 3041