The real fix for unscripted sit positions. This one doesn't fuck everything else up. Promise.

avinationmerge
meta7 2010-08-07 22:25:37 -07:00
parent f9b5f23383
commit a1f2be5e69
1 changed files with 4 additions and 1 deletions

View File

@ -2440,7 +2440,10 @@ namespace OpenSim.Region.Framework.Scenes
}
m_linkedPrim = part.UUID;
if (part.GetAvatarOnSitTarget() != UUID)
{
m_offsetRotation = m_offsetRotation / part.RotationOffset;
}
Velocity = Vector3.Zero;
RemoveFromPhysicalScene();
Animator.TrySetMovementAnimation(sitAnimation);