diff options
author | Oz Linden <oz@lindenlab.com> | 2010-08-29 08:41:50 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2010-08-29 08:41:50 -0400 |
commit | f2353797e22120a2de2c64c3084ed3a7381eefe1 (patch) | |
tree | 6570b495d57f0d3f815a889213197489f33c9eae /indra/newview/llagent.cpp | |
parent | 05913a83a5f0f7f076ad915f3de4c23330f6d32b (diff) | |
parent | bef304c0a34bfcd7997bd7799995229ddcc1de31 (diff) |
merge up to latest viewer-development
Diffstat (limited to 'indra/newview/llagent.cpp')
-rw-r--r-- | indra/newview/llagent.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index 37cd289b1b..fe7e883d83 100644 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -827,6 +827,11 @@ LLVector3d LLAgent::getPosGlobalFromAgent(const LLVector3 &pos_agent) const return pos_agent_d + mAgentOriginGlobal; } +void LLAgent::sitDown() +{ + setControlFlags(AGENT_CONTROL_SIT_ON_GROUND); +} + //----------------------------------------------------------------------------- // resetAxes() |