remove unnecessary null check on _collisionEventPrim

remove-scene-viewer
Justin Clark-Casey (justincc) 2011-10-20 20:58:29 +01:00
parent 9c43020876
commit 30fe66d3ab
1 changed files with 0 additions and 3 deletions

View File

@ -2793,9 +2793,6 @@ Console.WriteLine("AddPhysicsActorTaint to " + taintedprim.Name);
{ {
foreach (PhysicsActor obj in _collisionEventPrim) foreach (PhysicsActor obj in _collisionEventPrim)
{ {
if (obj == null)
continue;
// m_log.DebugFormat("[PHYSICS]: Assessing {0} for collision events", obj.SOPName); // m_log.DebugFormat("[PHYSICS]: Assessing {0} for collision events", obj.SOPName);
switch ((ActorTypes)obj.PhysicsActorType) switch ((ActorTypes)obj.PhysicsActorType)