Apply adaption of patch in http://opensimulator.org/mantis/view.php?id=4628
This prevents a ground-sitting avatar from being moved about in mouselook Thanks mirceakitsune!soprefactor
parent
9e61e120a1
commit
e5bcd8b341
|
@ -1313,7 +1313,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
// to use. Or we could add a m_isSitting variable.
|
// to use. Or we could add a m_isSitting variable.
|
||||||
//Animator.TrySetMovementAnimation("SIT_GROUND_CONSTRAINED");
|
//Animator.TrySetMovementAnimation("SIT_GROUND_CONSTRAINED");
|
||||||
SitGround = true;
|
SitGround = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// In the future, these values might need to go global.
|
// In the future, these values might need to go global.
|
||||||
|
@ -1330,7 +1329,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
bool update_movementflag = false;
|
bool update_movementflag = false;
|
||||||
|
|
||||||
if (m_allowMovement)
|
if (m_allowMovement && !SitGround)
|
||||||
{
|
{
|
||||||
if (agentData.UseClientAgentPosition)
|
if (agentData.UseClientAgentPosition)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue