delete keyframes on temporary backup group

avinationmerge
UbitUmarov 2014-10-26 12:30:11 +00:00
parent 525322efa2
commit b07ea475bf
1 changed files with 8 additions and 0 deletions

View File

@ -2202,8 +2202,16 @@ namespace OpenSim.Region.Framework.Scenes
backup_group.ForEachPart(delegate(SceneObjectPart part)
{
part.Inventory.ProcessInventoryBackup(datastore);
// take the change to delete things
if(part.KeyframeMotion != null)
{
part.KeyframeMotion.Delete();
part.KeyframeMotion = null;
}
});
backup_group = null;
}
// else