diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 25538de..01c38b9 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -2202,8 +2202,16 @@ namespace OpenSim.Region.Framework.Scenes | |||
2202 | backup_group.ForEachPart(delegate(SceneObjectPart part) | 2202 | backup_group.ForEachPart(delegate(SceneObjectPart part) |
2203 | { | 2203 | { |
2204 | part.Inventory.ProcessInventoryBackup(datastore); | 2204 | part.Inventory.ProcessInventoryBackup(datastore); |
2205 | |||
2206 | // take the change to delete things | ||
2207 | if(part.KeyframeMotion != null) | ||
2208 | { | ||
2209 | part.KeyframeMotion.Delete(); | ||
2210 | part.KeyframeMotion = null; | ||
2211 | } | ||
2205 | }); | 2212 | }); |
2206 | 2213 | ||
2214 | |||
2207 | backup_group = null; | 2215 | backup_group = null; |
2208 | } | 2216 | } |
2209 | // else | 2217 | // else |