aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 7019673..5550140 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -653,6 +653,16 @@ namespace OpenSim.Region.Environment.Scenes
653 //m_heartbeatTimer.Close(); 653 //m_heartbeatTimer.Close();
654 shuttingdown = true; 654 shuttingdown = true;
655 655
656 m_log.Debug("[SCENE]: Persisting changed objects");
657 List<EntityBase> entities = GetEntities();
658 foreach (EntityBase entity in entities)
659 {
660 if (!entity.IsDeleted && entity is SceneObjectGroup && ((SceneObjectGroup)entity).HasGroupChanged)
661 {
662 ((SceneObjectGroup)entity).ProcessBackup(m_storageManager.DataStore);
663 }
664 }
665
656 m_sceneGraph.Close(); 666 m_sceneGraph.Close();
657 667
658 // De-register with region communications (events cleanup) 668 // De-register with region communications (events cleanup)