diff options
Merge branch 'avination' into careminster
Conflicts:
OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
OpenSim/Region/Framework/Scenes/Scene.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 33a2cc5..f1f94a7 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -2061,8 +2061,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
2061 | HasGroupChangedDueToDelink = false; | 2061 | HasGroupChangedDueToDelink = false; |
2062 | 2062 | ||
2063 | m_scene.EventManager.TriggerOnSceneObjectPreSave(backup_group, this); | 2063 | m_scene.EventManager.TriggerOnSceneObjectPreSave(backup_group, this); |
2064 | datastore.StoreObject(backup_group, m_scene.RegionInfo.RegionID); | ||
2065 | |||
2066 | backup_group.ForEachPart(delegate(SceneObjectPart part) | 2064 | backup_group.ForEachPart(delegate(SceneObjectPart part) |
2067 | { | 2065 | { |
2068 | if (part.KeyframeMotion != null) | 2066 | if (part.KeyframeMotion != null) |
@@ -2070,6 +2068,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
2070 | part.KeyframeMotion = KeyframeMotion.FromData(backup_group, part.KeyframeMotion.Serialize()); | 2068 | part.KeyframeMotion = KeyframeMotion.FromData(backup_group, part.KeyframeMotion.Serialize()); |
2071 | part.KeyframeMotion.UpdateSceneObject(this); | 2069 | part.KeyframeMotion.UpdateSceneObject(this); |
2072 | } | 2070 | } |
2071 | }); | ||
2072 | |||
2073 | datastore.StoreObject(backup_group, m_scene.RegionInfo.RegionID); | ||
2074 | |||
2075 | backup_group.ForEachPart(delegate(SceneObjectPart part) | ||
2076 | { | ||
2073 | part.Inventory.ProcessInventoryBackup(datastore); | 2077 | part.Inventory.ProcessInventoryBackup(datastore); |
2074 | }); | 2078 | }); |
2075 | 2079 | ||