diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index dd9431b..b6d5c4b 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -1855,6 +1855,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
1855 | { | 1855 | { |
1856 | if (UsePhysics) | 1856 | if (UsePhysics) |
1857 | { | 1857 | { |
1858 | if (ParentGroup.KeyframeMotion != null) | ||
1859 | ParentGroup.KeyframeMotion.Stop(); | ||
1860 | ParentGroup.KeyframeMotion = null; | ||
1858 | ParentGroup.Scene.AddPhysicalPrim(1); | 1861 | ParentGroup.Scene.AddPhysicalPrim(1); |
1859 | 1862 | ||
1860 | PhysActor.OnRequestTerseUpdate += PhysicsRequestingTerseUpdate; | 1863 | PhysActor.OnRequestTerseUpdate += PhysicsRequestingTerseUpdate; |