aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorubit2012-10-09 06:10:05 +0200
committerubit2012-10-09 06:10:05 +0200
commit005553e9d912ef2aecc117274cac6d46075e92da (patch)
treeccb96cab5fcc1e4923335c8b8d0e03947cdd913e /OpenSim/Region
parentMerge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork (diff)
parent another debug msg (diff)
downloadopensim-SC-005553e9d912ef2aecc117274cac6d46075e92da.zip
opensim-SC-005553e9d912ef2aecc117274cac6d46075e92da.tar.gz
opensim-SC-005553e9d912ef2aecc117274cac6d46075e92da.tar.bz2
opensim-SC-005553e9d912ef2aecc117274cac6d46075e92da.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/OdeScene.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
index beaba13..229bf8e 100644
--- a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
+++ b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
@@ -719,6 +719,28 @@ namespace OpenSim.Region.Physics.OdePlugin
719 if (b1 != IntPtr.Zero && b2 != IntPtr.Zero && d.AreConnectedExcluding(b1, b2, d.JointType.Contact)) 719 if (b1 != IntPtr.Zero && b2 != IntPtr.Zero && d.AreConnectedExcluding(b1, b2, d.JointType.Contact))
720 return; 720 return;
721 721
722// debug
723 PhysicsActor dp2;
724 if (d.GeomGetClass(g1) == d.GeomClassID.HeightfieldClass)
725 {
726 d.AABB aabb;
727 d.GeomGetAABB(g2, out aabb);
728 float x = aabb.MaxX - aabb.MinX;
729 float y = aabb.MaxY - aabb.MinY;
730 float z = aabb.MaxZ - aabb.MinZ;
731 if (x > 60.0f || y > 60.0f || z > 60.0f)
732 {
733 if (!actor_name_map.TryGetValue(g2, out dp2))
734 m_log.WarnFormat("[PHYSICS]: failed actor mapping for geom 2");
735 else
736 m_log.WarnFormat("[PHYSICS]: land versus large prim geo {0},size {1}, AABBsize <{2},{3},{4}>, at {5}",
737 dp2.Name, dp2.Size, x, y, z, dp2.Position);
738 }
739 }
740//
741
742
743
722 if(d.GeomGetCategoryBits(g1) == (uint)CollisionCategories.VolumeDtc || 744 if(d.GeomGetCategoryBits(g1) == (uint)CollisionCategories.VolumeDtc ||
723 d.GeomGetCategoryBits(g1) == (uint)CollisionCategories.VolumeDtc) 745 d.GeomGetCategoryBits(g1) == (uint)CollisionCategories.VolumeDtc)
724 { 746 {