Thanks HomerHorwitz for a patch to enable the Stand Up button when sitting on the ground. (bug #1932)

0.6.0-stable
Jeff Ames 2008-08-12 21:38:52 +00:00
parent 4e555b87f3
commit c65415d320
1 changed files with 5 additions and 3 deletions

View File

@ -887,9 +887,11 @@ namespace OpenSim.Region.Environment.Scenes
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)
// m_parentID = ???
TrySetMovementAnimation("SIT_GROUND");
// TODO: This doesn't prevent the user from walking yet.
// Setting parent ID would fix this, if we knew what value
// to use. Or we could add a m_isSitting variable.
TrySetMovementAnimation("SIT_GROUND_CONSTRAINED");
}
// In the future, these values might need to go global.
// Here's where you get them.