Skip to content
Snippets Groups Projects
Commit 3e56de13 authored by maxim_productengine's avatar maxim_productengine
Browse files

MAINT-8275 FIXED "Walk/run/fly" toolbar button turns off "fly mode" of avatar when the user log in

parent 0d40ac2e
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment