diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index d0a2115..515184c 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -1322,16 +1322,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1322 | 1322 | ||
1323 | m_log.Debug("[SCENE]: Persisting changed objects"); | 1323 | m_log.Debug("[SCENE]: Persisting changed objects"); |
1324 | EventManager.TriggerSceneShuttingDown(this); | 1324 | EventManager.TriggerSceneShuttingDown(this); |
1325 | 1325 | Backup(false); | |
1326 | EntityBase[] entities = GetEntities(); | ||
1327 | foreach (EntityBase entity in entities) | ||
1328 | { | ||
1329 | if (!entity.IsDeleted && entity is SceneObjectGroup && ((SceneObjectGroup)entity).HasGroupChanged) | ||
1330 | { | ||
1331 | ((SceneObjectGroup)entity).ProcessBackup(SimulationDataService, false); | ||
1332 | } | ||
1333 | } | ||
1334 | |||
1335 | m_sceneGraph.Close(); | 1326 | m_sceneGraph.Close(); |
1336 | 1327 | ||
1337 | if (!GridService.DeregisterRegion(RegionInfo.RegionID)) | 1328 | if (!GridService.DeregisterRegion(RegionInfo.RegionID)) |