aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorBlueWall2011-12-02 22:46:37 -0500
committerBlueWall2011-12-02 22:46:37 -0500
commit6541fc08d4020baa64d02849194549d2e3215d6a (patch)
tree712bc43d218d0b3a7b31262459d4853e7f98732e /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentMerge branch 'master' of /home/opensim/var/repo/opensim (diff)
parentUpdate SP.PhysicsCollisionUpdate() doc. (diff)
downloadopensim-SC_OLD-6541fc08d4020baa64d02849194549d2e3215d6a.zip
opensim-SC_OLD-6541fc08d4020baa64d02849194549d2e3215d6a.tar.gz
opensim-SC_OLD-6541fc08d4020baa64d02849194549d2e3215d6a.tar.bz2
opensim-SC_OLD-6541fc08d4020baa64d02849194549d2e3215d6a.tar.xz
Merge branch 'master' of /home/opensim/var/repo/opensim
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs18
1 files changed, 14 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 663c9ae..5b9438b 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1582,8 +1582,8 @@ namespace OpenSim.Region.Framework.Scenes
1582// } 1582// }
1583// } 1583// }
1584 1584
1585 if (update_movementflag && ParentID == 0) 1585// if (update_movementflag && ParentID == 0)
1586 Animator.UpdateMovementAnimations(); 1586// Animator.UpdateMovementAnimations();
1587 } 1587 }
1588 1588
1589 m_scene.EventManager.TriggerOnClientMovement(this); 1589 m_scene.EventManager.TriggerOnClientMovement(this);
@@ -3279,8 +3279,18 @@ namespace OpenSim.Region.Framework.Scenes
3279 ControllingClient.SendAgentAlertMessage("Physics is having a problem with your avatar. You may not be able to move until you relog.", true); 3279 ControllingClient.SendAgentAlertMessage("Physics is having a problem with your avatar. You may not be able to move until you relog.", true);
3280 } 3280 }
3281 3281
3282 // Event called by the physics plugin to tell the avatar about a collision. 3282 /// <summary>
3283 private void PhysicsCollisionUpdate(EventArgs e) 3283 /// Event called by the physics plugin to tell the avatar about a collision.
3284 /// </summary>
3285 /// <remarks>
3286 /// This function is called continuously, even when there are no collisions. If the avatar is walking on the
3287 /// ground or a prim then there will be collision information between the avatar and the surface.
3288 ///
3289 /// FIXME: However, we can't safely avoid calling this yet where there are no collisions without analyzing whether
3290 /// any part of this method is relying on an every-frame call.
3291 /// </remarks>
3292 /// <param name="e"></param>
3293 public void PhysicsCollisionUpdate(EventArgs e)
3284 { 3294 {
3285 if (IsChildAgent) 3295 if (IsChildAgent)
3286 return; 3296 return;