summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2010-08-25 10:58:49 -0700
committerMerov Linden <merov@lindenlab.com>2010-08-25 10:58:49 -0700
commit5361e6826f186783c95e01804cec97be37910bec (patch)
treeefe3e329e0c15cc96aeb5ca4df3ac595bd3038ac /indra/newview/llagent.cpp
parent06148d602e915615039d7bad1d4b7818ee5c4290 (diff)
VWR-20710 : Sit anywhere, port of SG2.x SNOW-610 patch
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 42b78a84af..b78ebc6969 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()