aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 0d19589..1353518 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -747,7 +747,16 @@ namespace OpenSim.Region.Framework.Scenes
747 /// <summary></summary> 747 /// <summary></summary>
748 public Vector3 Acceleration 748 public Vector3 Acceleration
749 { 749 {
750 get { return m_acceleration; } 750 get
751 {
752 PhysicsActor actor = PhysActor;
753 if (actor != null)
754 {
755 m_acceleration = actor.Acceleration;
756 }
757 return m_acceleration;
758 }
759
751 set { m_acceleration = value; } 760 set { m_acceleration = value; }
752 } 761 }
753 762