aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-10-25 22:39:08 +0100
committerJustin Clark-Casey (justincc)2011-10-25 22:39:08 +0100
commit0f83f87233544972ad6799cb78e5f21845c53fbd (patch)
tree1601a52b9fd552cf700e36f67d8bd75070212e0c /OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
parentGet rid of the pointless null checks on collision listeners. Add warning abo... (diff)
downloadopensim-SC-0f83f87233544972ad6799cb78e5f21845c53fbd.zip
opensim-SC-0f83f87233544972ad6799cb78e5f21845c53fbd.tar.gz
opensim-SC-0f83f87233544972ad6799cb78e5f21845c53fbd.tar.bz2
opensim-SC-0f83f87233544972ad6799cb78e5f21845c53fbd.tar.xz
Remove unused fields from CollisionEventUpdate
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
index bb8d601..8782e62 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
@@ -1350,7 +1350,7 @@ public sealed class BSPrim : PhysicsActor
1350 // create the event for the collision 1350 // create the event for the collision
1351 Dictionary<uint, ContactPoint> contactPoints = new Dictionary<uint, ContactPoint>(); 1351 Dictionary<uint, ContactPoint> contactPoints = new Dictionary<uint, ContactPoint>();
1352 contactPoints.Add(collidingWith, new ContactPoint(contactPoint, contactNormal, pentrationDepth)); 1352 contactPoints.Add(collidingWith, new ContactPoint(contactPoint, contactNormal, pentrationDepth));
1353 CollisionEventUpdate args = new CollisionEventUpdate(LocalID, (int)type, 1, contactPoints); 1353 CollisionEventUpdate args = new CollisionEventUpdate(contactPoints);
1354 base.SendCollisionUpdate(args); 1354 base.SendCollisionUpdate(args);
1355 } 1355 }
1356} 1356}