Skip to content
Snippets Groups Projects
Commit c5e8e2cc authored by Kitty Barnett's avatar Kitty Barnett
Browse files

- fixed : the "Running mode" button on the "Move" floater is disabled when it shouldn't be

--HG--
branch : RLVa
parent 75718fbf
No related branches found
No related tags found
No related merge requests found
...@@ -463,7 +463,7 @@ void LLFloaterMove::sUpdateMovementStatus() ...@@ -463,7 +463,7 @@ void LLFloaterMove::sUpdateMovementStatus()
LLFloaterMove* pFloater = LLFloaterReg::findTypedInstance<LLFloaterMove>("moveview"); LLFloaterMove* pFloater = LLFloaterReg::findTypedInstance<LLFloaterMove>("moveview");
if (pFloater) if (pFloater)
{ {
pFloater->mModeControlButtonMap[MM_RUN]->setEnabled(gRlvHandler.hasBehaviour(RLV_BHVR_ALWAYSRUN)); pFloater->mModeControlButtonMap[MM_RUN]->setEnabled(!gRlvHandler.hasBehaviour(RLV_BHVR_ALWAYSRUN));
pFloater->mModeControlButtonMap[MM_FLY]->setEnabled(gAgent.canFly()); pFloater->mModeControlButtonMap[MM_FLY]->setEnabled(gAgent.canFly());
} }
} }
......
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