aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-12-14 21:27:47 +0000
committerJustin Clark-Casey (justincc)2011-12-14 21:27:47 +0000
commit6f2d80cc930c83e81cc351f6e66a206141cf084a (patch)
tree19effdb7f04a656651c49b3336699a11402183a2 /OpenSim/Region/Physics/OdePlugin
parentSimplify some manipulation of _taintedActors in OdeScene (diff)
downloadopensim-SC-6f2d80cc930c83e81cc351f6e66a206141cf084a.zip
opensim-SC-6f2d80cc930c83e81cc351f6e66a206141cf084a.tar.gz
opensim-SC-6f2d80cc930c83e81cc351f6e66a206141cf084a.tar.bz2
opensim-SC-6f2d80cc930c83e81cc351f6e66a206141cf084a.tar.xz
minor: add some currently commented log lines for use in debugging
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdeScene.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
index a6c2eca..da540fa 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
@@ -1699,6 +1699,10 @@ namespace OpenSim.Region.Physics.OdePlugin
1699 1699
1700 public override void RemoveAvatar(PhysicsActor actor) 1700 public override void RemoveAvatar(PhysicsActor actor)
1701 { 1701 {
1702// m_log.DebugFormat(
1703// "[ODE SCENE]: Removing physics character {0} {1} from physics scene {2}",
1704// actor.Name, actor.LocalID, Name);
1705
1702 //m_log.Debug("[PHYSICS]:ODELOCK"); 1706 //m_log.Debug("[PHYSICS]:ODELOCK");
1703 ((OdeCharacter) actor).Destroy(); 1707 ((OdeCharacter) actor).Destroy();
1704 } 1708 }
@@ -1707,6 +1711,9 @@ namespace OpenSim.Region.Physics.OdePlugin
1707 { 1711 {
1708 if (!_characters.Contains(chr)) 1712 if (!_characters.Contains(chr))
1709 { 1713 {
1714// m_log.DebugFormat(
1715// "[ODE SCENE]: Adding physics character {0} {1} to physics scene {2}", chr.Name, chr.LocalID, Name);
1716
1710 _characters.Add(chr); 1717 _characters.Add(chr);
1711 1718
1712 if (chr.bad) 1719 if (chr.bad)
@@ -1765,7 +1772,7 @@ namespace OpenSim.Region.Physics.OdePlugin
1765 public override PhysicsActor AddPrimShape(string primName, PrimitiveBaseShape pbs, Vector3 position, 1772 public override PhysicsActor AddPrimShape(string primName, PrimitiveBaseShape pbs, Vector3 position,
1766 Vector3 size, Quaternion rotation, bool isPhysical, uint localid) 1773 Vector3 size, Quaternion rotation, bool isPhysical, uint localid)
1767 { 1774 {
1768// m_log.DebugFormat("[ODE SCENE]: Adding physics actor to {0} {1}", primName, localid); 1775// m_log.DebugFormat("[ODE SCENE]: Adding physics prim {0} {1} to physics scene {2}", primName, localid, Name);
1769 1776
1770 return AddPrim(primName, position, size, rotation, pbs, isPhysical, localid); 1777 return AddPrim(primName, position, size, rotation, pbs, isPhysical, localid);
1771 } 1778 }