diff options
author | Justin Clark-Casey (justincc) | 2011-10-25 22:35:00 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-25 22:35:00 +0100 |
commit | c825c9a94588e31c38ba43bf8ea763818e1c02b6 (patch) | |
tree | 7412953715b0777a18446a1482a7e786ce446b0a /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |
parent | When sending object collision updates, don't null out and recreate the Collis... (diff) | |
download | opensim-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/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index bee96d1..8b68102 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -2083,10 +2083,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
2083 | public void PhysicsCollision(EventArgs e) | 2083 | public void PhysicsCollision(EventArgs e) |
2084 | { | 2084 | { |
2085 | // single threaded here | 2085 | // single threaded here |
2086 | if (e == null) | ||
2087 | { | ||
2088 | return; | ||
2089 | } | ||
2090 | 2086 | ||
2091 | CollisionEventUpdate a = (CollisionEventUpdate)e; | 2087 | CollisionEventUpdate a = (CollisionEventUpdate)e; |
2092 | Dictionary<uint, ContactPoint> collissionswith = a.m_objCollisionList; | 2088 | Dictionary<uint, ContactPoint> collissionswith = a.m_objCollisionList; |