diff options
author | Robert Adams | 2013-08-20 09:20:48 -0700 |
---|---|---|
committer | Robert Adams | 2013-09-11 09:12:03 -0700 |
commit | 995314f91f72eef0048a58f30e8dd8051f6bf14e (patch) | |
tree | 205482d66e5cadbb7341d4d248e784902c048e5f /OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs | |
parent | BulletSim: Extension parameters passed through the classes made to pass just ... (diff) | |
download | opensim-SC_OLD-995314f91f72eef0048a58f30e8dd8051f6bf14e.zip opensim-SC_OLD-995314f91f72eef0048a58f30e8dd8051f6bf14e.tar.gz opensim-SC_OLD-995314f91f72eef0048a58f30e8dd8051f6bf14e.tar.bz2 opensim-SC_OLD-995314f91f72eef0048a58f30e8dd8051f6bf14e.tar.xz |
BulletSim: add ID parameter to TaintedObject calls so logging will include LocalID of object which created the taint.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs b/OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs index 87716b4..b2a9501 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSLinksetConstraints.cs | |||
@@ -297,7 +297,7 @@ public sealed class BSLinksetConstraints : BSLinkset | |||
297 | rootx.LocalID, rootx.PhysBody.AddrString, | 297 | rootx.LocalID, rootx.PhysBody.AddrString, |
298 | childx.LocalID, childx.PhysBody.AddrString); | 298 | childx.LocalID, childx.PhysBody.AddrString); |
299 | 299 | ||
300 | m_physicsScene.TaintedObject(inTaintTime, "BSLinksetConstraints.RemoveChildFromLinkset", delegate() | 300 | m_physicsScene.TaintedObject(inTaintTime, childx.LocalID, "BSLinksetConstraints.RemoveChildFromLinkset", delegate() |
301 | { | 301 | { |
302 | PhysicallyUnlinkAChildFromRoot(rootx, childx); | 302 | PhysicallyUnlinkAChildFromRoot(rootx, childx); |
303 | }); | 303 | }); |
@@ -508,7 +508,7 @@ public sealed class BSLinksetConstraints : BSLinkset | |||
508 | BSPrimLinkable child = pParams[0] as BSPrimLinkable; | 508 | BSPrimLinkable child = pParams[0] as BSPrimLinkable; |
509 | if (child != null) | 509 | if (child != null) |
510 | { | 510 | { |
511 | m_physicsScene.TaintedObject("BSLinksetConstraint.PhysFunctChangeLinkType", delegate() | 511 | m_physicsScene.TaintedObject(child.LocalID, "BSLinksetConstraint.PhysFunctChangeLinkType", delegate() |
512 | { | 512 | { |
513 | // Pick up all the constraints currently created. | 513 | // Pick up all the constraints currently created. |
514 | RemoveDependencies(child); | 514 | RemoveDependencies(child); |