aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
diff options
context:
space:
mode:
authorUbitUmarov2012-10-09 05:09:43 +0100
committerUbitUmarov2012-10-09 05:09:43 +0100
commitd0773dcd6aa10375f16fb4f268bfcecf10056ac9 (patch)
treee47d34e4c2d04c8ae70bcb86b7335ad44d4327df /OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
parent force allocation of mesh data on creation ( messy code version ) (diff)
downloadopensim-SC_OLD-d0773dcd6aa10375f16fb4f268bfcecf10056ac9.zip
opensim-SC_OLD-d0773dcd6aa10375f16fb4f268bfcecf10056ac9.tar.gz
opensim-SC_OLD-d0773dcd6aa10375f16fb4f268bfcecf10056ac9.tar.bz2
opensim-SC_OLD-d0773dcd6aa10375f16fb4f268bfcecf10056ac9.tar.xz
another debug msg
Diffstat (limited to 'OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs')
-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 {