SL-11736 FIXED "Stand" button disappears if "Restore down" UI button is pressed while sitting.

master
Mnikolenko Productengine 2019-08-23 17:31:09 +03:00
parent 9773e06cc1
commit 82c3bf0a98
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}