From c8157da17bbd21b41e3fd975585ee7a9e5f89a91 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Mon, 24 Sep 2007 12:19:33 +0000 Subject: * Hotfix for 'properties all the way into the sunset' bug; it just doesn't make sense, but maybe we need to handle agentUpdates form children too. * Ignored some bins --- OpenSim/Region/Environment/Scenes/EntityBase.cs | 2 +- OpenSim/Region/Environment/Scenes/ScenePresence.cs | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'OpenSim/Region/Environment') diff --git a/OpenSim/Region/Environment/Scenes/EntityBase.cs b/OpenSim/Region/Environment/Scenes/EntityBase.cs index dc1f7f1..ea50955 100644 --- a/OpenSim/Region/Environment/Scenes/EntityBase.cs +++ b/OpenSim/Region/Environment/Scenes/EntityBase.cs @@ -40,7 +40,7 @@ namespace OpenSim.Region.Environment.Scenes set { m_pos = value; } } - public LLVector3 m_velocity; + protected LLVector3 m_velocity; /// /// diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 83626b8..eaf15a1 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs @@ -419,16 +419,16 @@ namespace OpenSim.Region.Environment.Scenes public void HandleAgentUpdate(IClientAPI remoteClient, uint flags, LLQuaternion bodyRotation) { - if (m_isChildAgent) - { - // Console.WriteLine("DEBUG: HandleAgentUpdate: child agent"); - return; - } - - if(PhysicsActor==null) { - // Console.WriteLine("DEBUG: HandleAgentUpdate: null PhysicsActor!"); - return; - } + //if (m_isChildAgent) + //{ + // // Console.WriteLine("DEBUG: HandleAgentUpdate: child agent"); + // return; + //} + + //if(PhysicsActor==null) { + // // Console.WriteLine("DEBUG: HandleAgentUpdate: null PhysicsActor!"); + // return; + //} int i = 0; bool update_movementflag = false; -- cgit v1.1