summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelnavmeshrebake.cpp
diff options
context:
space:
mode:
authorprep <prep@lindenlab.com>2012-06-13 13:30:26 -0400
committerprep <prep@lindenlab.com>2012-06-13 13:30:26 -0400
commit7d5c4d20b9f99b3e7d5781433ed6046678292627 (patch)
treec30e1aa3cb640eb5ee4c1934704c2aa3fd184b1e /indra/newview/llpanelnavmeshrebake.cpp
parent9215c682d23d4b977f289c9700b24f3bf2d20b03 (diff)
WIP: path-722. Posting and responders for navmesh rebaking
Diffstat (limited to 'indra/newview/llpanelnavmeshrebake.cpp')
-rw-r--r--indra/newview/llpanelnavmeshrebake.cpp3
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
}
/**