summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-08-31 19:55:19 -0400
committerLoren Shih <seraph@lindenlab.com>2010-08-31 19:55:19 -0400
commit704405903f8d1606ef98df76d37c83931e5368ab (patch)
tree7a970bcfad80962c4d0e96e9351ed718da687dff /indra/newview/llagent.cpp
parent85d659f44d2badfd42ee9b1ae7cd0971806672d4 (diff)
parent3cabca8df62ae8ee815dd7d885f14f5a7d0ea98d (diff)
pull from viewer-development
Diffstat (limited to 'indra/newview/llagent.cpp')
-rw-r--r--indra/newview/llagent.cpp5
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()