summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2010-08-29 08:41:50 -0400
committerOz Linden <oz@lindenlab.com>2010-08-29 08:41:50 -0400
commitf2353797e22120a2de2c64c3084ed3a7381eefe1 (patch)
tree6570b495d57f0d3f815a889213197489f33c9eae /indra/newview/llagent.cpp
parent05913a83a5f0f7f076ad915f3de4c23330f6d32b (diff)
parentbef304c0a34bfcd7997bd7799995229ddcc1de31 (diff)
merge up to latest 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()