aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs2
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODECharacter.cs4
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index ada81b5..96a3425 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3217,7 +3217,7 @@ namespace OpenSim.Region.Framework.Scenes
3217 // Event called by the physics plugin to tell the avatar about a collision. 3217 // Event called by the physics plugin to tell the avatar about a collision.
3218 private void PhysicsCollisionUpdate(EventArgs e) 3218 private void PhysicsCollisionUpdate(EventArgs e)
3219 { 3219 {
3220 if (e == null) 3220 if ((e == null) || m_invulnerable)
3221 return; 3221 return;
3222 CollisionEventUpdate collisionData = (CollisionEventUpdate)e; 3222 CollisionEventUpdate collisionData = (CollisionEventUpdate)e;
3223 Dictionary<uint, float> coldata = collisionData.m_objCollisionList; 3223 Dictionary<uint, float> coldata = collisionData.m_objCollisionList;
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
308 } 308 }
309 if (m_wascolliding != m_iscolliding) 309 if (m_wascolliding != m_iscolliding)
310 { 310 {
311 base.SendCollisionUpdate(new CollisionEventUpdate()); 311 //base.SendCollisionUpdate(new CollisionEventUpdate());
312 } 312 }
313 m_wascolliding = m_iscolliding; 313 m_wascolliding = m_iscolliding;
314 } 314 }
@@ -362,7 +362,7 @@ namespace OpenSim.Region.Physics.OdePlugin
362 } 362 }
363 if (m_wascollidingGround != m_iscollidingGround) 363 if (m_wascollidingGround != m_iscollidingGround)
364 { 364 {
365 base.SendCollisionUpdate(new CollisionEventUpdate()); 365 //base.SendCollisionUpdate(new CollisionEventUpdate());
366 } 366 }
367 m_wascollidingGround = m_iscollidingGround; 367 m_wascollidingGround = m_iscollidingGround;
368 } 368 }