Thanks HomerHorwitz for a patch to enable the Stand Up button when sitting on the ground. (bug #1932)
parent
4e555b87f3
commit
c65415d320
|
@ -887,9 +887,11 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
|
|
||||||
if ((flags & (uint) AgentManager.ControlFlags.AGENT_CONTROL_SIT_ON_GROUND) != 0)
|
if ((flags & (uint) AgentManager.ControlFlags.AGENT_CONTROL_SIT_ON_GROUND) != 0)
|
||||||
{
|
{
|
||||||
// TODO: This doesn't enable the "stand up" button on the viewer yet (probably a parent ID problem)
|
// TODO: This doesn't prevent the user from walking yet.
|
||||||
// m_parentID = ???
|
// Setting parent ID would fix this, if we knew what value
|
||||||
TrySetMovementAnimation("SIT_GROUND");
|
// to use. Or we could add a m_isSitting variable.
|
||||||
|
|
||||||
|
TrySetMovementAnimation("SIT_GROUND_CONSTRAINED");
|
||||||
}
|
}
|
||||||
// In the future, these values might need to go global.
|
// In the future, these values might need to go global.
|
||||||
// Here's where you get them.
|
// Here's where you get them.
|
||||||
|
|
Loading…
Reference in New Issue