diff options
| author | Callum Prentice <callum@mbp.localdomain> | 2022-12-12 11:13:10 -0800 |
|---|---|---|
| committer | Callum Prentice <callum@mbp.localdomain> | 2022-12-12 11:13:10 -0800 |
| commit | f7838ca17c7e4a5a595f5cb898c70a18be4c9cd9 (patch) | |
| tree | fa2dc9c6d34a0c6e7de54df74c032f611a0bd747 /indra/newview/llviewermenu.cpp | |
| parent | 395a60a83e954e9bcbb44dc6f1a49319b2d628b7 (diff) | |
| parent | a0c3d69c620a92d73a1008f218680fb4d0ef9255 (diff) | |
Merge branch 'main' into DRTVWR-568
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
| -rw-r--r-- | indra/newview/llviewermenu.cpp | 4 |
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; |
