mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
The real fix for unscripted sit positions. This one doesn't fuck everything else up. Promise.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user