Trying to prevent a wrong physical actor size

viewer-2-initial-appearance
Melanie 2010-11-03 00:01:47 +00:00
parent d555c373d8
commit 7d551e27ca
1 changed files with 3 additions and 0 deletions

View File

@ -3187,6 +3187,9 @@ namespace OpenSim.Region.Framework.Scenes
/// </summary> /// </summary>
public void AddToPhysicalScene(bool isFlying) public void AddToPhysicalScene(bool isFlying)
{ {
if (m_appearance.AvatarHeight == 0)
return;
PhysicsScene scene = m_scene.PhysicsScene; PhysicsScene scene = m_scene.PhysicsScene;
Vector3 pVec = AbsolutePosition; Vector3 pVec = AbsolutePosition;