mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
Get rid of the pointless null checks on collision listeners. Add warning about synchronicity for PhysicsActor.OnCollisionUpdate event doc
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user