aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index 7436d75..f6ebbc9 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -597,6 +597,7 @@ namespace OpenSim.Region.Environment.Scenes
597 597
598 if (!m_isBackedUp) 598 if (!m_isBackedUp)
599 m_scene.EventManager.OnBackup += ProcessBackup; 599 m_scene.EventManager.OnBackup += ProcessBackup;
600
600 m_isBackedUp = true; 601 m_isBackedUp = true;
601 } 602 }
602 } 603 }
@@ -1282,7 +1283,10 @@ namespace OpenSim.Region.Environment.Scenes
1282 1283
1283 datastore.StoreObject(backup_group, m_scene.RegionInfo.RegionID); 1284 datastore.StoreObject(backup_group, m_scene.RegionInfo.RegionID);
1284 1285
1285 backup_group.ForEachPart(delegate(SceneObjectPart part) { part.Inventory.ProcessInventoryBackup(datastore); }); 1286 backup_group.ForEachPart(delegate(SceneObjectPart part)
1287 {
1288 part.Inventory.ProcessInventoryBackup(datastore);
1289 });
1286 1290
1287 backup_group = null; 1291 backup_group = null;
1288 } 1292 }