aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 9898681..d488189 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -1823,6 +1823,11 @@ namespace OpenSim.Region.Framework.Scenes
1823// Name, UUID, m_scene.RegionInfo.RegionName); 1823// Name, UUID, m_scene.RegionInfo.RegionName);
1824 1824
1825 SceneObjectGroup backup_group = Copy(false); 1825 SceneObjectGroup backup_group = Copy(false);
1826 if (KeyframeMotion != null)
1827 {
1828 backup_group.KeyframeMotion = KeyframeMotion.FromData(backup_group, KeyframeMotion.Serialize());
1829 KeyframeMotion.UpdateSceneObject(this);
1830 }
1826 backup_group.RootPart.Velocity = RootPart.Velocity; 1831 backup_group.RootPart.Velocity = RootPart.Velocity;
1827 backup_group.RootPart.Acceleration = RootPart.Acceleration; 1832 backup_group.RootPart.Acceleration = RootPart.Acceleration;
1828 backup_group.RootPart.AngularVelocity = RootPart.AngularVelocity; 1833 backup_group.RootPart.AngularVelocity = RootPart.AngularVelocity;