diff options
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/OdePlugin.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index 92afe39..ba289f7 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | |||
@@ -1664,6 +1664,8 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1664 | if (!_characters.Contains(chr)) | 1664 | if (!_characters.Contains(chr)) |
1665 | { | 1665 | { |
1666 | _characters.Add(chr); | 1666 | _characters.Add(chr); |
1667 | if (chr.bad) | ||
1668 | m_log.DebugFormat("[PHYSICS] Added BAD actor {0} to characters list", chr.m_uuid); | ||
1667 | } | 1669 | } |
1668 | } | 1670 | } |
1669 | } | 1671 | } |
@@ -2581,7 +2583,11 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
2581 | lock (_taintedActors) | 2583 | lock (_taintedActors) |
2582 | { | 2584 | { |
2583 | if (!(_taintedActors.Contains(taintedchar))) | 2585 | if (!(_taintedActors.Contains(taintedchar))) |
2586 | { | ||
2584 | _taintedActors.Add(taintedchar); | 2587 | _taintedActors.Add(taintedchar); |
2588 | if (taintedchar.bad) | ||
2589 | m_log.DebugFormat("[PHYSICS]: Added BAD actor {0} to tainted actors", taintedchar.m_uuid); | ||
2590 | } | ||
2585 | } | 2591 | } |
2586 | } | 2592 | } |
2587 | } | 2593 | } |
@@ -2980,7 +2986,11 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
2980 | foreach (OdeCharacter actor in _characters) | 2986 | foreach (OdeCharacter actor in _characters) |
2981 | { | 2987 | { |
2982 | if (actor != null) | 2988 | if (actor != null) |
2989 | { | ||
2990 | if (actor.bad) | ||
2991 | m_log.WarnFormat("[PHYSICS]: BAD Actor {0} in _characters list was not removed?", actor.m_uuid); | ||
2983 | actor.UpdatePositionAndVelocity(); | 2992 | actor.UpdatePositionAndVelocity(); |
2993 | } | ||
2984 | } | 2994 | } |
2985 | } | 2995 | } |
2986 | 2996 | ||