clean a bit

LSLKeyTest
UbitUmarov 2015-12-21 17:56:12 +00:00
parent 4b14ec3c45
commit 7081ef948c
1 changed files with 2 additions and 8 deletions

View File

@ -1110,12 +1110,6 @@ namespace OpenSim.Region.Framework.Scenes
#region Status Methods #region Status Methods
void PhysicsCheckPositionZ()
{
if(m_scene.PhysicsScene == null)
return;
}
/// <summary> /// <summary>
/// Turns a child agent into a root agent. /// Turns a child agent into a root agent.
/// </summary> /// </summary>
@ -1243,12 +1237,12 @@ namespace OpenSim.Region.Framework.Scenes
if(checkPhysics) if(checkPhysics)
{ {
// no land!! // land check was done above
RayFilterFlags rayfilter = RayFilterFlags.ClosestAndBackCull; RayFilterFlags rayfilter = RayFilterFlags.ClosestAndBackCull;
rayfilter |= RayFilterFlags.physical; rayfilter |= RayFilterFlags.physical;
rayfilter |= RayFilterFlags.nonphysical; rayfilter |= RayFilterFlags.nonphysical;
rayfilter |= RayFilterFlags.LSLPhantom; // ubODE will only see volume detectors rayfilter |= RayFilterFlags.LSLPhantom; // ubODE will only see volume detectors
int physcount = 1; int physcount = 25;
float dist = 1024f; float dist = 1024f;
Vector3 direction = new Vector3(0f,0f,-1f); Vector3 direction = new Vector3(0f,0f,-1f);
Vector3 RayStart = pos; Vector3 RayStart = pos;