aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs
diff options
context:
space:
mode:
authorRobert Adams2013-08-01 12:35:22 -0700
committerRobert Adams2013-08-02 09:47:11 -0700
commit5bcccfc305ae4f5a74b9b816781a2a643daa23b3 (patch)
treeab852db97111577d07c0d8b7240ca153921d1545 /OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs
parentFix problem with modInvoke defined integer constants being build into (diff)
downloadopensim-SC-5bcccfc305ae4f5a74b9b816781a2a643daa23b3.zip
opensim-SC-5bcccfc305ae4f5a74b9b816781a2a643daa23b3.tar.gz
opensim-SC-5bcccfc305ae4f5a74b9b816781a2a643daa23b3.tar.bz2
opensim-SC-5bcccfc305ae4f5a74b9b816781a2a643daa23b3.tar.xz
BulletSim: add BSLinkInfo structure to remember link specific information
for each link in a linkset. Extend BSLinksetConstraint to create and use BSLinkInfo with the default static constraint.
Diffstat (limited to '')
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs b/OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs
index 6359046..53c3584 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs
@@ -257,7 +257,7 @@ public sealed class BSLinksetCompound : BSLinkset
257 { 257 {
258 if (!HasChild(child)) 258 if (!HasChild(child))
259 { 259 {
260 m_children.Add(child); 260 m_children.Add(child, new BSLinkInfo(child));
261 261
262 DetailLog("{0},BSLinksetCompound.AddChildToLinkset,call,child={1}", LinksetRoot.LocalID, child.LocalID); 262 DetailLog("{0},BSLinksetCompound.AddChildToLinkset,call,child={1}", LinksetRoot.LocalID, child.LocalID);
263 263
@@ -353,7 +353,7 @@ public sealed class BSLinksetCompound : BSLinkset
353 353
354 // Add the shapes of all the components of the linkset 354 // Add the shapes of all the components of the linkset
355 int memberIndex = 1; 355 int memberIndex = 1;
356 ForEachMember(delegate(BSPrimLinkable cPrim) 356 ForEachMember((cPrim) =>
357 { 357 {
358 if (IsRoot(cPrim)) 358 if (IsRoot(cPrim))
359 { 359 {