aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-10-25 22:35:00 +0100
committerJustin Clark-Casey (justincc)2011-10-25 22:35:00 +0100
commitc825c9a94588e31c38ba43bf8ea763818e1c02b6 (patch)
tree7412953715b0777a18446a1482a7e786ce446b0a /OpenSim/Region/Physics/Manager
parentWhen sending object collision updates, don't null out and recreate the Collis... (diff)
downloadopensim-SC_OLD-c825c9a94588e31c38ba43bf8ea763818e1c02b6.zip
opensim-SC_OLD-c825c9a94588e31c38ba43bf8ea763818e1c02b6.tar.gz
opensim-SC_OLD-c825c9a94588e31c38ba43bf8ea763818e1c02b6.tar.bz2
opensim-SC_OLD-c825c9a94588e31c38ba43bf8ea763818e1c02b6.tar.xz
Get rid of the pointless null checks on collision listeners. Add warning about synchronicity for PhysicsActor.OnCollisionUpdate event doc
Diffstat (limited to 'OpenSim/Region/Physics/Manager')
-rw-r--r--OpenSim/Region/Physics/Manager/PhysicsActor.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
index 44af636..8f5abde 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
@@ -140,7 +140,13 @@ namespace OpenSim.Region.Physics.Manager
140 public event VelocityUpdate OnVelocityUpdate; 140 public event VelocityUpdate OnVelocityUpdate;
141 public event OrientationUpdate OnOrientationUpdate; 141 public event OrientationUpdate OnOrientationUpdate;
142 public event RequestTerseUpdate OnRequestTerseUpdate; 142 public event RequestTerseUpdate OnRequestTerseUpdate;
143
144 /// <summary>
145 /// Subscribers to this event must synchronously handle the dictionary of collisions received, since the event
146 /// object is reused in subsequent physics frames.
147 /// </summary>
143 public event CollisionUpdate OnCollisionUpdate; 148 public event CollisionUpdate OnCollisionUpdate;
149
144 public event OutOfBounds OnOutOfBounds; 150 public event OutOfBounds OnOutOfBounds;
145#pragma warning restore 67 151#pragma warning restore 67
146 152