Guarding the new call to SetHeight in MakeRoot, so that ODE doesn't complain when it's 0.
parent
52c5b75174
commit
9b19c65450
|
@ -845,7 +845,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
AbsolutePosition = pos;
|
||||
|
||||
AddToPhysicalScene(isFlying);
|
||||
if (m_appearance != null)
|
||||
if ((m_appearance != null) && (m_appearance.AvatarHeight > 0))
|
||||
SetHeight(m_appearance.AvatarHeight);
|
||||
|
||||
// Don't send an animation pack here, since on a region crossing this will sometimes cause a flying
|
||||
|
|
Loading…
Reference in New Issue