diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 32bd9aa..194d782 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -728,7 +728,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
728 | { | 728 | { |
729 | if (!entity.IsDeleted && entity is SceneObjectGroup && ((SceneObjectGroup)entity).HasGroupChanged) | 729 | if (!entity.IsDeleted && entity is SceneObjectGroup && ((SceneObjectGroup)entity).HasGroupChanged) |
730 | { | 730 | { |
731 | ((SceneObjectGroup)entity).ProcessBackup(m_storageManager.DataStore); | 731 | ((SceneObjectGroup)entity).ProcessBackup(m_storageManager.DataStore, false); |
732 | } | 732 | } |
733 | } | 733 | } |
734 | 734 | ||
@@ -1052,6 +1052,14 @@ namespace OpenSim.Region.Environment.Scenes | |||
1052 | } | 1052 | } |
1053 | } | 1053 | } |
1054 | 1054 | ||
1055 | public void ForceSceneObjectBackup(SceneObjectGroup group) | ||
1056 | { | ||
1057 | if (group != null) | ||
1058 | { | ||
1059 | group.ProcessBackup(m_storageManager.DataStore, true); | ||
1060 | } | ||
1061 | } | ||
1062 | |||
1055 | public void AddReturn(UUID agentID, string objectName, Vector3 location, string reason) | 1063 | public void AddReturn(UUID agentID, string objectName, Vector3 location, string reason) |
1056 | { | 1064 | { |
1057 | lock (m_returns) | 1065 | lock (m_returns) |