summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2019-08-23 17:31:09 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2019-08-23 17:31:09 +0300
commit82c3bf0a9881e29745851b1c0baa3ed69ecc4735 (patch)
treeb0302d51a3e55b51eb272dcced0beb927898ece8 /indra/newview
parent9773e06cc12b432772eda856c5281c749caec988 (diff)
SL-11736 FIXED "Stand" button disappears if "Restore down" UI button is pressed while sitting.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llmoveview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llmoveview.cpp b/indra/newview/llmoveview.cpp
index 19f238d99a..28201b7345 100644
--- a/indra/newview/llmoveview.cpp
+++ b/indra/newview/llmoveview.cpp
@@ -574,6 +574,8 @@ BOOL LLPanelStandStopFlying::postBuild()
//mStopFlyingButton->setCommitCallback(boost::bind(&LLFloaterMove::setFlyingMode, FALSE));
mStopFlyingButton->setCommitCallback(boost::bind(&LLPanelStandStopFlying::onStopFlyingButtonClick, this));
mStopFlyingButton->setVisible(FALSE);
+
+ gViewerWindow->setOnWorldViewRectUpdated(boost::bind(&LLPanelStandStopFlying::updatePosition, this));
return TRUE;
}