From 786da7847b9bcdd6d87c3a1ccd35c588703edd7c Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sat, 5 Jan 2008 02:19:08 +0000 Subject: * Fixed a waste of resources in ODE. Possibly a cause of thread leak. * Border crossings within the same opensim instance seem better. --- OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Physics/OdePlugin/ODECharacter.cs') diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs index 335c3fc..8e92171 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs @@ -542,8 +542,8 @@ namespace OpenSim.Region.Physics.OdePlugin { m_lastUpdateSent = true; base.RequestPhysicsterseUpdate(); - string primScenAvatarIn = _parent_scene.whichspaceamIin(_position); - int[] arrayitem = _parent_scene.calculateSpaceArrayItemFromPos(_position); + //string primScenAvatarIn = _parent_scene.whichspaceamIin(_position); + //int[] arrayitem = _parent_scene.calculateSpaceArrayItemFromPos(_position); //if (primScenAvatarIn == "0") //{ //MainLog.Instance.Verbose("Physics", "Avatar " + m_name + " in space with no prim. Arr:':" + arrayitem[0].ToString() + "," + arrayitem[1].ToString()); -- cgit v1.1