aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
diff options
context:
space:
mode:
authorDiva Canto2009-10-18 16:48:44 -0700
committerDiva Canto2009-10-18 16:48:44 -0700
commitbaed19d0688fe03fe8fba233bc6bd8306c71779f (patch)
treedc7a07a88d4850530928e4e52ce69ab533340328 /OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
parentWrapped the contents of the IncomingPacketHandler loop in a try/catch statement (diff)
downloadopensim-SC_OLD-baed19d0688fe03fe8fba233bc6bd8306c71779f.zip
opensim-SC_OLD-baed19d0688fe03fe8fba233bc6bd8306c71779f.tar.gz
opensim-SC_OLD-baed19d0688fe03fe8fba233bc6bd8306c71779f.tar.bz2
opensim-SC_OLD-baed19d0688fe03fe8fba233bc6bd8306c71779f.tar.xz
A bit of instrumentation to figure out what's going on with physics actors.
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/OdePlugin.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdePlugin.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
index 0e03e81..7187fbe 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 }