Get rid of the pointless null checks on collision listeners. Add warning about synchronicity for PhysicsActor.OnCollisionUpdate event doc

This commit is contained in:
Justin Clark-Casey (justincc)
2011-10-25 22:35:00 +01:00
parent b9f106f484
commit c825c9a945
3 changed files with 6 additions and 7 deletions

View File

@@ -2083,10 +2083,6 @@ namespace OpenSim.Region.Framework.Scenes
public void PhysicsCollision(EventArgs e)
{
// single threaded here
if (e == null)
{
return;
}
CollisionEventUpdate a = (CollisionEventUpdate)e;
Dictionary<uint, ContactPoint> collissionswith = a.m_objCollisionList;