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/BSPrimLinkable.cs | |
parent | BulletSim: Extension parameters passed through the classes made to pass just ... (diff) | |
download | opensim-SC-995314f91f72eef0048a58f30e8dd8051f6bf14e.zip opensim-SC-995314f91f72eef0048a58f30e8dd8051f6bf14e.tar.gz opensim-SC-995314f91f72eef0048a58f30e8dd8051f6bf14e.tar.bz2 opensim-SC-995314f91f72eef0048a58f30e8dd8051f6bf14e.tar.xz |
BulletSim: add ID parameter to TaintedObject calls so logging will include LocalID of object which created the taint.
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs index 531f8fb..840265b 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSPrimLinkable.cs | |||
@@ -108,7 +108,7 @@ public class BSPrimLinkable : BSPrimDisplaced | |||
108 | set | 108 | set |
109 | { | 109 | { |
110 | base.Position = value; | 110 | base.Position = value; |
111 | PhysScene.TaintedObject("BSPrimLinkable.setPosition", delegate() | 111 | PhysScene.TaintedObject(LocalID, "BSPrimLinkable.setPosition", delegate() |
112 | { | 112 | { |
113 | Linkset.UpdateProperties(UpdatedProperties.Position, this); | 113 | Linkset.UpdateProperties(UpdatedProperties.Position, this); |
114 | }); | 114 | }); |
@@ -122,7 +122,7 @@ public class BSPrimLinkable : BSPrimDisplaced | |||
122 | set | 122 | set |
123 | { | 123 | { |
124 | base.Orientation = value; | 124 | base.Orientation = value; |
125 | PhysScene.TaintedObject("BSPrimLinkable.setOrientation", delegate() | 125 | PhysScene.TaintedObject(LocalID, "BSPrimLinkable.setOrientation", delegate() |
126 | { | 126 | { |
127 | Linkset.UpdateProperties(UpdatedProperties.Orientation, this); | 127 | Linkset.UpdateProperties(UpdatedProperties.Orientation, this); |
128 | }); | 128 | }); |
@@ -304,7 +304,7 @@ public class BSPrimLinkable : BSPrimDisplaced | |||
304 | BSLinkset.LinksetImplementation linksetType = (BSLinkset.LinksetImplementation)pParams[0]; | 304 | BSLinkset.LinksetImplementation linksetType = (BSLinkset.LinksetImplementation)pParams[0]; |
305 | if (Linkset.IsRoot(this)) | 305 | if (Linkset.IsRoot(this)) |
306 | { | 306 | { |
307 | PhysScene.TaintedObject("BSPrim.PhysFunctSetLinksetType", delegate() | 307 | PhysScene.TaintedObject(LocalID, "BSPrim.PhysFunctSetLinksetType", delegate() |
308 | { | 308 | { |
309 | // Cause the linkset type to change | 309 | // Cause the linkset type to change |
310 | DetailLog("{0},BSPrimLinkable.Extension.physSetLinksetType, oldType={1},newType={2}", | 310 | DetailLog("{0},BSPrimLinkable.Extension.physSetLinksetType, oldType={1},newType={2}", |