diff options
author | Erik Kundiman <erik@megapahit.org> | 2025-06-30 18:09:32 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-06-30 18:09:32 +0800 |
commit | d0e3c7a40395ea5ad7f7a9982ce4dbf464e24caa (patch) | |
tree | 92902324d9a26aeec801e55e9f65573024593569 /indra/newview/llmoveview.cpp | |
parent | d6e7979612be80b24441fa84678adb476fda8405 (diff) |
Minimal @unsit=<y/n> command implementation
Hides the Stand up button too, but doesn't prevent teleporting yet.
Diffstat (limited to 'indra/newview/llmoveview.cpp')
-rw-r--r-- | indra/newview/llmoveview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llmoveview.cpp b/indra/newview/llmoveview.cpp index a8ceaffde8..df515389c5 100644 --- a/indra/newview/llmoveview.cpp +++ b/indra/newview/llmoveview.cpp @@ -538,7 +538,7 @@ void LLPanelStandStopFlying::setStandStopFlyingMode(EStandStopFlyingMode mode) LLFirstUse::sit(); LLFirstUse::notMoving(false); } - panel->mStandButton->setVisible(SSFM_STAND == mode); + panel->mStandButton->setVisible((SSFM_STAND == mode) & gAgent.isAllowedToStand()); panel->mStopFlyingButton->setVisible(SSFM_STOP_FLYING == mode); //visibility of it should be updated after updating visibility of the buttons |