aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs')
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs b/OpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs
index a1027ee..3bc2100 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs
@@ -50,7 +50,7 @@ public class BSLinkset
50 50
51 // We keep the prim's mass in the linkset structure since it could be dependent on other prims 51 // We keep the prim's mass in the linkset structure since it could be dependent on other prims
52 private float m_mass; 52 private float m_mass;
53 public float Mass 53 public float LinksetMass
54 { 54 {
55 get 55 get
56 { 56 {
@@ -150,10 +150,10 @@ public class BSLinkset
150 150
151 private float ComputeLinksetMass() 151 private float ComputeLinksetMass()
152 { 152 {
153 float mass = m_linksetRoot.Mass; 153 float mass = m_linksetRoot.MassRaw;
154 foreach (BSPrim bp in m_children) 154 foreach (BSPrim bp in m_children)
155 { 155 {
156 mass += bp.Mass; 156 mass += bp.MassRaw;
157 } 157 }
158 return mass; 158 return mass;
159 } 159 }