remove unnecessary null check on _collisionEventPrim
parent
ea5d1d0ff0
commit
36be226dc8
|
@ -2763,9 +2763,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)
|
||||||
|
|
Loading…
Reference in New Issue