diff options
author | ubit | 2012-10-10 01:36:19 +0200 |
---|---|---|
committer | ubit | 2012-10-10 01:36:19 +0200 |
commit | a271afa2aaa6952f35543c49e929a24031861c31 (patch) | |
tree | d80b453b3fdb2a0ebaa473058d9265ffbe65c653 /OpenSim/Region | |
parent | Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork (diff) | |
parent | debug (diff) | |
download | opensim-SC-a271afa2aaa6952f35543c49e929a24031861c31.zip opensim-SC-a271afa2aaa6952f35543c49e929a24031861c31.tar.gz opensim-SC-a271afa2aaa6952f35543c49e929a24031861c31.tar.bz2 opensim-SC-a271afa2aaa6952f35543c49e929a24031861c31.tar.xz |
Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs index 0400899..e086264 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs | |||
@@ -2247,6 +2247,12 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
2247 | _orientation.Z = qtmp.Z; | 2247 | _orientation.Z = qtmp.Z; |
2248 | _orientation.W = qtmp.W; | 2248 | _orientation.W = qtmp.W; |
2249 | 2249 | ||
2250 | // Debug | ||
2251 | float qlen = _orientation.Length(); | ||
2252 | if (qlen > 1.01f || qlen < 0.99) | ||
2253 | m_log.WarnFormat("[PHYSICS]: Got nonnorm quaternion from geom in Object {0} norm {1}", Name, qlen); | ||
2254 | // | ||
2255 | |||
2250 | d.Vector3 lpos = d.GeomGetPosition(prim_geom); | 2256 | d.Vector3 lpos = d.GeomGetPosition(prim_geom); |
2251 | _position.X = lpos.X; | 2257 | _position.X = lpos.X; |
2252 | _position.Y = lpos.Y; | 2258 | _position.Y = lpos.Y; |