From 042c9ed4d82e4389ec929f5438e82defad251235 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sun, 25 May 2008 11:22:05 +0000 Subject: * Adds Top Colliders when using ODE. Access it from the estate tools/debug tab. --- OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Physics/OdePlugin/ODEPrim.cs') diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs index 4c8eb20..6ade638 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs @@ -124,7 +124,7 @@ namespace OpenSim.Region.Physics.OdePlugin private bool m_throttleUpdates = false; private int throttleCounter = 0; public int m_interpenetrationcount = 0; - public int m_collisionscore = 0; + public float m_collisionscore = 0; public int m_roundsUnderMotionThreshold = 0; private int m_crossingfailures = 0; @@ -243,7 +243,7 @@ namespace OpenSim.Region.Physics.OdePlugin // is physical or the object is modified somehow *IN THE FUTURE* // without this, if an avatar selects prim, they can walk right // through it while it's selected - + m_collisionscore = 0; if ((m_isphysical && !_zeroFlag) || !value) { m_taintselected = value; @@ -1783,6 +1783,7 @@ namespace OpenSim.Region.Physics.OdePlugin public override float CollisionScore { get { return m_collisionscore; } + set { m_collisionscore = value; } } public override bool Kinematic -- cgit v1.1