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