aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-02-13 00:34:08 +0000
committerJustin Clark-Casey (justincc)2013-02-13 00:34:08 +0000
commit3e9f3c038340e060511e40f98d260e5841637ab3 (patch)
treeca794a0c00442fc79f2b7ff2e660bc40f8fcb29a /OpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs
parentExtend TestJsonRemoveValue() with tests for non-penultimate nodes and arrays (diff)
parentBulletSim: fix density since the simulator/viewer track density in a (diff)
downloadopensim-SC-3e9f3c038340e060511e40f98d260e5841637ab3.zip
opensim-SC-3e9f3c038340e060511e40f98d260e5841637ab3.tar.gz
opensim-SC-3e9f3c038340e060511e40f98d260e5841637ab3.tar.bz2
opensim-SC-3e9f3c038340e060511e40f98d260e5841637ab3.tar.xz
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to '')
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs b/OpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs
index e35311f..4ece1eb 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSLinkset.cs
@@ -127,6 +127,8 @@ public abstract class BSLinkset
127 m_children = new HashSet<BSPrimLinkable>(); 127 m_children = new HashSet<BSPrimLinkable>();
128 LinksetMass = parent.RawMass; 128 LinksetMass = parent.RawMass;
129 Rebuilding = false; 129 Rebuilding = false;
130
131 parent.ClearDisplacement();
130 } 132 }
131 133
132 // Link to a linkset where the child knows the parent. 134 // Link to a linkset where the child knows the parent.
@@ -280,6 +282,7 @@ public abstract class BSLinkset
280 return mass; 282 return mass;
281 } 283 }
282 284
285 // Computes linkset's center of mass in world coordinates.
283 protected virtual OMV.Vector3 ComputeLinksetCenterOfMass() 286 protected virtual OMV.Vector3 ComputeLinksetCenterOfMass()
284 { 287 {
285 OMV.Vector3 com; 288 OMV.Vector3 com;