aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorubit2012-10-10 01:36:19 +0200
committerubit2012-10-10 01:36:19 +0200
commita271afa2aaa6952f35543c49e929a24031861c31 (patch)
treed80b453b3fdb2a0ebaa473058d9265ffbe65c653 /OpenSim
parentMerge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork (diff)
parentdebug (diff)
downloadopensim-SC_OLD-a271afa2aaa6952f35543c49e929a24031861c31.zip
opensim-SC_OLD-a271afa2aaa6952f35543c49e929a24031861c31.tar.gz
opensim-SC_OLD-a271afa2aaa6952f35543c49e929a24031861c31.tar.bz2
opensim-SC_OLD-a271afa2aaa6952f35543c49e929a24031861c31.tar.xz
Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs6
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;