aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs15
1 files changed, 8 insertions, 7 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index e4574b4..02614bd 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -2244,10 +2244,10 @@ namespace OpenSim.Region.Framework.Scenes
2244 // any exception propogate upwards. 2244 // any exception propogate upwards.
2245 try 2245 try
2246 { 2246 {
2247 if (!m_scene.ShuttingDown || // if shutting down then there will be nothing to handle the return so leave till next restart 2247 // if shutting down then there will be nothing to handle the return so leave till next restart
2248 !m_scene.LoginsEnabled || // We're starting up or doing maintenance, don't mess with things 2248 if (!m_scene.ShuttingDown &&
2249 m_scene.LoadingPrims) // Land may not be valid yet 2249 m_scene.LoginsEnabled && // We're starting up or doing maintenance, don't mess with things
2250 2250 !m_scene.LoadingPrims) // Land may not be valid yet
2251 { 2251 {
2252 ILandObject parcel = m_scene.LandChannel.GetLandObject( 2252 ILandObject parcel = m_scene.LandChannel.GetLandObject(
2253 m_rootPart.GroupPosition.X, m_rootPart.GroupPosition.Y); 2253 m_rootPart.GroupPosition.X, m_rootPart.GroupPosition.Y);
@@ -3402,10 +3402,11 @@ namespace OpenSim.Region.Framework.Scenes
3402 public virtual void DetachFromBackup() 3402 public virtual void DetachFromBackup()
3403 { 3403 {
3404 if (m_scene != null) 3404 if (m_scene != null)
3405 {
3405 m_scene.SceneGraph.FireDetachFromBackup(this); 3406 m_scene.SceneGraph.FireDetachFromBackup(this);
3406 if (Backup && Scene != null) 3407 if (Backup)
3407 m_scene.EventManager.OnBackup -= ProcessBackup; 3408 m_scene.EventManager.OnBackup -= ProcessBackup;
3408 3409 }
3409 Backup = false; 3410 Backup = false;
3410 } 3411 }
3411 3412