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 57fcf51..0237021 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -2346,6 +2346,12 @@ namespace OpenSim.Region.Framework.Scenes
2346 2346
2347 foreach (SceneObjectPart part in partList) 2347 foreach (SceneObjectPart part in partList)
2348 { 2348 {
2349 if (part.KeyframeMotion != null)
2350 {
2351 part.KeyframeMotion.Delete();
2352 part.KeyframeMotion = null;
2353 }
2354
2349 if (part.IsJoint() && ((part.Flags & PrimFlags.Physics) != 0)) 2355 if (part.IsJoint() && ((part.Flags & PrimFlags.Physics) != 0))
2350 { 2356 {
2351 PhysicsScene.RequestJointDeletion(part.Name); // FIXME: what if the name changed? 2357 PhysicsScene.RequestJointDeletion(part.Name); // FIXME: what if the name changed?