MAINT-8275 FIXED "Walk/run/fly" toolbar button turns off "fly mode" of avatar when the user log in
parent
0d40ac2ed9
commit
3e56de13a7
|
|
@ -400,12 +400,12 @@ void LLFloaterMove::initMovementMode()
|
|||
{
|
||||
initMovementMode = MM_FLY;
|
||||
}
|
||||
setMovementMode(initMovementMode);
|
||||
|
||||
mCurrentMode = initMovementMode;
|
||||
bool hide_mode_buttons = (MM_FLY == mCurrentMode) || (isAgentAvatarValid() && gAgentAvatarp->isSitting());
|
||||
|
||||
if (isAgentAvatarValid())
|
||||
{
|
||||
showModeButtons(!gAgentAvatarp->isSitting());
|
||||
}
|
||||
updateButtonsWithMovementMode(mCurrentMode);
|
||||
showModeButtons(!hide_mode_buttons);
|
||||
}
|
||||
|
||||
void LLFloaterMove::setModeTooltip(const EMovementMode mode)
|
||||
|
|
|
|||
Loading…
Reference in New Issue