aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 69397eb..d590d99 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -845,7 +845,7 @@ namespace OpenSim.Region.Framework.Scenes
845 AbsolutePosition = pos; 845 AbsolutePosition = pos;
846 846
847 AddToPhysicalScene(isFlying); 847 AddToPhysicalScene(isFlying);
848 if (m_appearance != null) 848 if ((m_appearance != null) && (m_appearance.AvatarHeight > 0))
849 SetHeight(m_appearance.AvatarHeight); 849 SetHeight(m_appearance.AvatarHeight);
850 850
851 // Don't send an animation pack here, since on a region crossing this will sometimes cause a flying 851 // Don't send an animation pack here, since on a region crossing this will sometimes cause a flying