diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 1ca250a..6f8d07c 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -957,7 +957,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
957 | } | 957 | } |
958 | return m_angularVelocity; | 958 | return m_angularVelocity; |
959 | } | 959 | } |
960 | set { m_angularVelocity = value; } | 960 | set |
961 | { | ||
962 | m_angularVelocity = value; | ||
963 | PhysicsActor actor = PhysActor; | ||
964 | if ((actor != null) && actor.IsPhysical) | ||
965 | actor.RotationalVelocity = m_angularVelocity; | ||
966 | } | ||
961 | } | 967 | } |
962 | 968 | ||
963 | /// <summary></summary> | 969 | /// <summary></summary> |