diff options
author | Melanie | 2012-02-26 02:36:34 +0100 |
---|---|---|
committer | Melanie | 2012-02-26 02:36:34 +0100 |
commit | c82709c0d6c72852d8614651f9cb31df09fff883 (patch) | |
tree | ee7e539ef5b56383c8bf767f06cfbc2581c8d7bf /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |
parent | Delay the sending of the initial werables update until the inventory and (diff) | |
download | opensim-SC-c82709c0d6c72852d8614651f9cb31df09fff883.zip opensim-SC-c82709c0d6c72852d8614651f9cb31df09fff883.tar.gz opensim-SC-c82709c0d6c72852d8614651f9cb31df09fff883.tar.bz2 opensim-SC-c82709c0d6c72852d8614651f9cb31df09fff883.tar.xz |
Implement llSetKeyframedMotion. No persistence, no region crossing. Yet.
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; |