diff options
Diffstat (limited to 'indra/newview/llpanelnavmeshrebake.cpp')
-rw-r--r-- | indra/newview/llpanelnavmeshrebake.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llpanelnavmeshrebake.cpp b/indra/newview/llpanelnavmeshrebake.cpp index 9281c08059..92a082467f 100644 --- a/indra/newview/llpanelnavmeshrebake.cpp +++ b/indra/newview/llpanelnavmeshrebake.cpp @@ -96,7 +96,6 @@ BOOL LLPanelNavMeshRebake::postBuild() //Baking mNavMeshBakingButton = getChild<LLButton>("navmesh_btn_baking"); - mNavMeshBakingButton->setCommitCallback(boost::bind(&LLPanelNavMeshRebake::onNavMeshRebakeClick, this)); mNavMeshBakingButton->setVisible( FALSE ); LLHints::registerHintTarget("navmesh_btn_baking", mNavMeshBakingButton->getHandle()); return TRUE; @@ -146,6 +145,8 @@ void LLPanelNavMeshRebake::onNavMeshRebakeClick() setFocus(FALSE); mNavMeshRebakeButton->setVisible( FALSE ); mNavMeshBakingButton->setVisible( TRUE ); + mNavMeshBakingButton->setForcePressedState( TRUE ); + //post } /** |