aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs11
1 files changed, 7 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index b93b67d..c517978 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1293,11 +1293,11 @@ namespace OpenSim.Region.Framework.Scenes
1293// "[SCENE PRESENCE]: In {0} received agent update from {1}", 1293// "[SCENE PRESENCE]: In {0} received agent update from {1}",
1294// Scene.RegionInfo.RegionName, remoteClient.Name); 1294// Scene.RegionInfo.RegionName, remoteClient.Name);
1295 1295
1296 //if (IsChildAgent) 1296 if (IsChildAgent)
1297 //{ 1297 {
1298 // // m_log.Debug("DEBUG: HandleAgentUpdate: child agent"); 1298 // // m_log.Debug("DEBUG: HandleAgentUpdate: child agent");
1299 // return; 1299 return;
1300 //} 1300 }
1301 1301
1302 ++m_movementUpdateCount; 1302 ++m_movementUpdateCount;
1303 if (m_movementUpdateCount < 1) 1303 if (m_movementUpdateCount < 1)
@@ -3280,6 +3280,9 @@ namespace OpenSim.Region.Framework.Scenes
3280 // Event called by the physics plugin to tell the avatar about a collision. 3280 // Event called by the physics plugin to tell the avatar about a collision.
3281 private void PhysicsCollisionUpdate(EventArgs e) 3281 private void PhysicsCollisionUpdate(EventArgs e)
3282 { 3282 {
3283 if (IsChildAgent)
3284 return;
3285
3283 //if ((Math.Abs(Velocity.X) > 0.1e-9f) || (Math.Abs(Velocity.Y) > 0.1e-9f)) 3286 //if ((Math.Abs(Velocity.X) > 0.1e-9f) || (Math.Abs(Velocity.Y) > 0.1e-9f))
3284 // The Physics Scene will send updates every 500 ms grep: PhysicsActor.SubscribeEvents( 3287 // The Physics Scene will send updates every 500 ms grep: PhysicsActor.SubscribeEvents(
3285 // as of this comment the interval is set in AddToPhysicalScene 3288 // as of this comment the interval is set in AddToPhysicalScene