diff options
author | Melanie | 2010-11-03 00:01:47 +0000 |
---|---|---|
committer | Melanie | 2010-11-03 00:01:47 +0000 |
commit | 7d551e27cac7cba3c475ec7e528897834552b36f (patch) | |
tree | d006a36676f9a9646b6531dfe5868bbddb6ac9b2 /OpenSim/Region/Framework/Scenes | |
parent | Fix avatar height management (diff) | |
download | opensim-SC-7d551e27cac7cba3c475ec7e528897834552b36f.zip opensim-SC-7d551e27cac7cba3c475ec7e528897834552b36f.tar.gz opensim-SC-7d551e27cac7cba3c475ec7e528897834552b36f.tar.bz2 opensim-SC-7d551e27cac7cba3c475ec7e528897834552b36f.tar.xz |
Trying to prevent a wrong physical actor size
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 3 |
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; |