aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorUbitUmarov2014-10-26 12:30:11 +0000
committerUbitUmarov2014-10-26 12:30:11 +0000
commitb07ea475bf0bce2bcd60d7444245e185af2e5740 (patch)
tree912fbec24bd8448a32500bffd564a08eba91e146 /OpenSim/Region/Framework/Scenes
parentbug fix (diff)
downloadopensim-SC-b07ea475bf0bce2bcd60d7444245e185af2e5740.zip
opensim-SC-b07ea475bf0bce2bcd60d7444245e185af2e5740.tar.gz
opensim-SC-b07ea475bf0bce2bcd60d7444245e185af2e5740.tar.bz2
opensim-SC-b07ea475bf0bce2bcd60d7444245e185af2e5740.tar.xz
delete keyframes on temporary backup group
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs8
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