aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie2010-11-03 00:01:47 +0000
committerMelanie2010-11-03 00:01:47 +0000
commit7d551e27cac7cba3c475ec7e528897834552b36f (patch)
treed006a36676f9a9646b6531dfe5868bbddb6ac9b2
parentFix avatar height management (diff)
downloadopensim-SC_OLD-7d551e27cac7cba3c475ec7e528897834552b36f.zip
opensim-SC_OLD-7d551e27cac7cba3c475ec7e528897834552b36f.tar.gz
opensim-SC_OLD-7d551e27cac7cba3c475ec7e528897834552b36f.tar.bz2
opensim-SC_OLD-7d551e27cac7cba3c475ec7e528897834552b36f.tar.xz
Trying to prevent a wrong physical actor size
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index ce9cf0c..a339a4f 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3187,6 +3187,9 @@ namespace OpenSim.Region.Framework.Scenes
3187 /// </summary> 3187 /// </summary>
3188 public void AddToPhysicalScene(bool isFlying) 3188 public void AddToPhysicalScene(bool isFlying)
3189 { 3189 {
3190 if (m_appearance.AvatarHeight == 0)
3191 return;
3192
3190 PhysicsScene scene = m_scene.PhysicsScene; 3193 PhysicsScene scene = m_scene.PhysicsScene;
3191 3194
3192 Vector3 pVec = AbsolutePosition; 3195 Vector3 pVec = AbsolutePosition;