From 30fe66d3ab534422407415817b570a66096c543b Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Thu, 20 Oct 2011 20:58:29 +0100 Subject: [PATCH] remove unnecessary null check on _collisionEventPrim --- OpenSim/Region/Physics/OdePlugin/OdeScene.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs index 1d0c699394..09bccf9cbe 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); { foreach (PhysicsActor obj in _collisionEventPrim) { - if (obj == null) - continue; - // m_log.DebugFormat("[PHYSICS]: Assessing {0} for collision events", obj.SOPName); switch ((ActorTypes)obj.PhysicsActorType)