diff options
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSLinksetCompound.cs | 4 |
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 | { |