aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 5b529c3..8fb6c3b 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -2376,6 +2376,12 @@ namespace OpenSim.Region.Framework.Scenes
2376 2376
2377 foreach (SceneObjectPart part in partList) 2377 foreach (SceneObjectPart part in partList)
2378 { 2378 {
2379 if (part.KeyframeMotion != null)
2380 {
2381 part.KeyframeMotion.Delete();
2382 part.KeyframeMotion = null;
2383 }
2384
2379 if (part.IsJoint() && ((part.Flags & PrimFlags.Physics) != 0)) 2385 if (part.IsJoint() && ((part.Flags & PrimFlags.Physics) != 0))
2380 { 2386 {
2381 PhysicsScene.RequestJointDeletion(part.Name); // FIXME: what if the name changed? 2387 PhysicsScene.RequestJointDeletion(part.Name); // FIXME: what if the name changed?