Mantis#2597. Thank you kindly, Idb for a patch that:
Solves the problem of changes to objects not persisted on server shutdown.0.6.1-post-fixes
parent
c18ce34d06
commit
8a3d9ea2db
|
@ -653,6 +653,16 @@ namespace OpenSim.Region.Environment.Scenes
|
|||
//m_heartbeatTimer.Close();
|
||||
shuttingdown = true;
|
||||
|
||||
m_log.Debug("[SCENE]: Persisting changed objects");
|
||||
List<EntityBase> entities = GetEntities();
|
||||
foreach (EntityBase entity in entities)
|
||||
{
|
||||
if (!entity.IsDeleted && entity is SceneObjectGroup && ((SceneObjectGroup)entity).HasGroupChanged)
|
||||
{
|
||||
((SceneObjectGroup)entity).ProcessBackup(m_storageManager.DataStore);
|
||||
}
|
||||
}
|
||||
|
||||
m_sceneGraph.Close();
|
||||
|
||||
// De-register with region communications (events cleanup)
|
||||
|
|
Loading…
Reference in New Issue