diff options
author | UbitUmarov | 2014-10-26 12:30:11 +0000 |
---|---|---|
committer | UbitUmarov | 2014-10-26 12:30:11 +0000 |
commit | b07ea475bf0bce2bcd60d7444245e185af2e5740 (patch) | |
tree | 912fbec24bd8448a32500bffd564a08eba91e146 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | bug fix (diff) | |
download | opensim-SC_OLD-b07ea475bf0bce2bcd60d7444245e185af2e5740.zip opensim-SC_OLD-b07ea475bf0bce2bcd60d7444245e185af2e5740.tar.gz opensim-SC_OLD-b07ea475bf0bce2bcd60d7444245e185af2e5740.tar.bz2 opensim-SC_OLD-b07ea475bf0bce2bcd60d7444245e185af2e5740.tar.xz |
delete keyframes on temporary backup group
Diffstat (limited to '')
-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 |