diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 5c90bf3..342fd03 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -887,9 +887,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
887 | 887 | ||
888 | if ((flags & (uint) AgentManager.ControlFlags.AGENT_CONTROL_SIT_ON_GROUND) != 0) | 888 | if ((flags & (uint) AgentManager.ControlFlags.AGENT_CONTROL_SIT_ON_GROUND) != 0) |
889 | { | 889 | { |
890 | // TODO: This doesn't enable the "stand up" button on the viewer yet (probably a parent ID problem) | 890 | // TODO: This doesn't prevent the user from walking yet. |
891 | // m_parentID = ??? | 891 | // Setting parent ID would fix this, if we knew what value |
892 | TrySetMovementAnimation("SIT_GROUND"); | 892 | // to use. Or we could add a m_isSitting variable. |
893 | |||
894 | TrySetMovementAnimation("SIT_GROUND_CONSTRAINED"); | ||
893 | } | 895 | } |
894 | // In the future, these values might need to go global. | 896 | // In the future, these values might need to go global. |
895 | // Here's where you get them. | 897 | // Here's where you get them. |