diff options
author | Justin Clark-Casey (justincc) | 2011-10-20 20:58:29 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-20 20:58:29 +0100 |
commit | 30fe66d3ab534422407415817b570a66096c543b (patch) | |
tree | 4d03e9dd94f01753458de11f0ee91c1a313ed731 /OpenSim/Region | |
parent | Get OdeScene to use passed in time step rather than hard-coded 0.089 (diff) | |
download | opensim-SC-30fe66d3ab534422407415817b570a66096c543b.zip opensim-SC-30fe66d3ab534422407415817b570a66096c543b.tar.gz opensim-SC-30fe66d3ab534422407415817b570a66096c543b.tar.bz2 opensim-SC-30fe66d3ab534422407415817b570a66096c543b.tar.xz |
remove unnecessary null check on _collisionEventPrim
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdeScene.cs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs index 1d0c699..09bccf9 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs | |||
@@ -2793,9 +2793,6 @@ Console.WriteLine("AddPhysicsActorTaint to " + taintedprim.Name); | |||
2793 | { | 2793 | { |
2794 | foreach (PhysicsActor obj in _collisionEventPrim) | 2794 | foreach (PhysicsActor obj in _collisionEventPrim) |
2795 | { | 2795 | { |
2796 | if (obj == null) | ||
2797 | continue; | ||
2798 | |||
2799 | // m_log.DebugFormat("[PHYSICS]: Assessing {0} for collision events", obj.SOPName); | 2796 | // m_log.DebugFormat("[PHYSICS]: Assessing {0} for collision events", obj.SOPName); |
2800 | 2797 | ||
2801 | switch ((ActorTypes)obj.PhysicsActorType) | 2798 | switch ((ActorTypes)obj.PhysicsActorType) |