From 8e1ab33ed34524f6f64458c8389220be0804450f Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Thu, 16 Jul 2009 04:50:49 +0000 Subject: * Tweaking collision reporting a little more in ScenePresence to not check if the collisions will affect health if the avatar is invulnerable. (saves 3 loops) --- OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Physics/OdePlugin') diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs index 9d60cca..e19d589 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs @@ -308,7 +308,7 @@ namespace OpenSim.Region.Physics.OdePlugin } if (m_wascolliding != m_iscolliding) { - base.SendCollisionUpdate(new CollisionEventUpdate()); + //base.SendCollisionUpdate(new CollisionEventUpdate()); } m_wascolliding = m_iscolliding; } @@ -362,7 +362,7 @@ namespace OpenSim.Region.Physics.OdePlugin } if (m_wascollidingGround != m_iscollidingGround) { - base.SendCollisionUpdate(new CollisionEventUpdate()); + //base.SendCollisionUpdate(new CollisionEventUpdate()); } m_wascollidingGround = m_iscollidingGround; } -- cgit v1.1