aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-11-21 21:31:26 +0000
committerJustin Clark-Casey (justincc)2011-11-21 21:31:26 +0000
commitc4e4a29478c635bb5759fa5b815d86e39cb3a794 (patch)
treed595d11cfd763ec77605ea3871516f2510e5e808 /OpenSim
parentGet rid of OdeCharacter != null checks since OdeScene._characters can never c... (diff)
downloadopensim-SC-c4e4a29478c635bb5759fa5b815d86e39cb3a794.zip
opensim-SC-c4e4a29478c635bb5759fa5b815d86e39cb3a794.tar.gz
opensim-SC-c4e4a29478c635bb5759fa5b815d86e39cb3a794.tar.bz2
opensim-SC-c4e4a29478c635bb5759fa5b815d86e39cb3a794.tar.xz
Slightly improve "Unable to space collide" logging message, though I don't think I've ever seen this.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdeScene.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
index e6cf915..e219535 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs
@@ -1556,8 +1556,9 @@ namespace OpenSim.Region.Physics.OdePlugin
1556 } 1556 }
1557 catch (AccessViolationException) 1557 catch (AccessViolationException)
1558 { 1558 {
1559 m_log.Warn("[PHYSICS]: Unable to space collide"); 1559 m_log.WarnFormat("[PHYSICS]: Unable to space collide {0}", Name);
1560 } 1560 }
1561
1561 //float terrainheight = GetTerrainHeightAtXY(chr.Position.X, chr.Position.Y); 1562 //float terrainheight = GetTerrainHeightAtXY(chr.Position.X, chr.Position.Y);
1562 //if (chr.Position.Z + (chr.Velocity.Z * timeStep) < terrainheight + 10) 1563 //if (chr.Position.Z + (chr.Velocity.Z * timeStep) < terrainheight + 10)
1563 //{ 1564 //{