SL-17858 Sit on ground was enabled but not working if already sitting
parent
8771130ef7
commit
ebf7033f07
|
|
@ -4253,6 +4253,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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue