* Fixed a case where a prim was a NullPhysicsActor instead of an OdePrim

* Commented logic that wasn't being used.
* This should fix the errors in OdeScene.near
This commit is contained in:
Teravus Ovares
2009-07-21 03:18:19 +00:00
parent 8af7d5b368
commit 5c8fe5c01c
2 changed files with 99 additions and 71 deletions

View File

@@ -1219,7 +1219,7 @@ namespace OpenSim.Region.Framework.Scenes
m_followCamAuto = ((m_CameraUpAxis.Z > 0.959f && m_CameraUpAxis.Z < 0.98f)
&& (Math.Abs(camdif.X) < 0.4f && Math.Abs(camdif.Y) < 0.4f)) ? true : false;
//m_log.DebugFormat("[FollowCam]: {0}", m_followCamAuto);
// Raycast from the avatar's head to the camera to see if there's anything blocking the view
if ((m_movementUpdateCount % NumMovementsBetweenRayCast) == 0 && m_scene.PhysicsScene.SupportsRayCast())
{