diff options
-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; |