The real fix for unscripted sit positions. This one doesn't fuck everything else up. Promise.
parent
f9b5f23383
commit
a1f2be5e69
|
@ -2440,7 +2440,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
}
|
}
|
||||||
|
|
||||||
m_linkedPrim = part.UUID;
|
m_linkedPrim = part.UUID;
|
||||||
|
if (part.GetAvatarOnSitTarget() != UUID)
|
||||||
|
{
|
||||||
|
m_offsetRotation = m_offsetRotation / part.RotationOffset;
|
||||||
|
}
|
||||||
Velocity = Vector3.Zero;
|
Velocity = Vector3.Zero;
|
||||||
RemoveFromPhysicalScene();
|
RemoveFromPhysicalScene();
|
||||||
Animator.TrySetMovementAnimation(sitAnimation);
|
Animator.TrySetMovementAnimation(sitAnimation);
|
||||||
|
|
Loading…
Reference in New Issue