aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/OdePlugin.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdePlugin.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
index 9429544..0a065be 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
@@ -1665,6 +1665,8 @@ namespace OpenSim.Region.Physics.OdePlugin
1665 if (!_characters.Contains(chr)) 1665 if (!_characters.Contains(chr))
1666 { 1666 {
1667 _characters.Add(chr); 1667 _characters.Add(chr);
1668 if (chr.bad)
1669 m_log.DebugFormat("[PHYSICS] Added BAD actor {0} to characters list", chr.m_uuid);
1668 } 1670 }
1669 } 1671 }
1670 } 1672 }
@@ -2587,7 +2589,11 @@ namespace OpenSim.Region.Physics.OdePlugin
2587 lock (_taintedActors) 2589 lock (_taintedActors)
2588 { 2590 {
2589 if (!(_taintedActors.Contains(taintedchar))) 2591 if (!(_taintedActors.Contains(taintedchar)))
2592 {
2590 _taintedActors.Add(taintedchar); 2593 _taintedActors.Add(taintedchar);
2594 if (taintedchar.bad)
2595 m_log.DebugFormat("[PHYSICS]: Added BAD actor {0} to tainted actors", taintedchar.m_uuid);
2596 }
2591 } 2597 }
2592 } 2598 }
2593 } 2599 }
@@ -2992,7 +2998,11 @@ namespace OpenSim.Region.Physics.OdePlugin
2992 foreach (OdeCharacter actor in _characters) 2998 foreach (OdeCharacter actor in _characters)
2993 { 2999 {
2994 if (actor != null) 3000 if (actor != null)
3001 {
3002 if (actor.bad)
3003 m_log.WarnFormat("[PHYSICS]: BAD Actor {0} in _characters list was not removed?", actor.m_uuid);
2995 actor.UpdatePositionAndVelocity(); 3004 actor.UpdatePositionAndVelocity();
3005 }
2996 } 3006 }
2997 } 3007 }
2998 3008