summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2023-01-24 20:15:43 +0000
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2023-01-24 20:15:43 +0000
commit3375e1a7b518eb40eb1814ced745266ce3a54ce7 (patch)
treef2b1281ec664e72615d11c6bd35a944d8897fa50 /indra/newview/llviewermenu.cpp
parentce5ac93883b71b6abf8cffa35204541e257c6b02 (diff)
parent111fc04e5df60e1d509b9ec80a1340bab4383cce (diff)
Merge branch 'DRTVWR-567' of ssh://github.com/secondlife/viewer into DRTVWR-567
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rw-r--r--indra/newview/llviewermenu.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp
index 3573af40cb..c796ed30f7 100644
--- a/indra/newview/llviewermenu.cpp
+++ b/indra/newview/llviewermenu.cpp
@@ -4334,6 +4334,10 @@ class LLLandSit : public view_listener_t
{
bool handleEvent(const LLSD& userdata)
{
+ if (gAgent.isSitting())
+ {
+ gAgent.standUp();
+ }
LLVector3d posGlobal = LLToolPie::getInstance()->getPick().mPosGlobal;
LLQuaternion target_rot;