diff options
author | prep <none@none> | 2012-03-01 17:33:45 -0500 |
---|---|---|
committer | prep <none@none> | 2012-03-01 17:33:45 -0500 |
commit | c4ddaf67cb31517c3d5e379d0237a21d1d7b2c9d (patch) | |
tree | 62ed89ce9e157c3a393c9749d78c2598082b8f23 /indra/newview/llfloaterpathfindingconsole.cpp | |
parent | 91fdd33f765b2f1ae7a4608bc426a106c75cfc11 (diff) |
path-264: Locking avatar in place when pathing floater is up.
Diffstat (limited to 'indra/newview/llfloaterpathfindingconsole.cpp')
-rw-r--r-- | indra/newview/llfloaterpathfindingconsole.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llfloaterpathfindingconsole.cpp b/indra/newview/llfloaterpathfindingconsole.cpp index 862f4d2fda..2bf46175ee 100644 --- a/indra/newview/llfloaterpathfindingconsole.cpp +++ b/indra/newview/llfloaterpathfindingconsole.cpp @@ -149,7 +149,7 @@ BOOL LLFloaterPathfindingConsole::postBuild() void LLFloaterPathfindingConsole::onOpen(const LLSD& pKey)
{
LLFloater::onOpen(pKey);
-
+ setHeartBeat( true );
//make sure we have a pathing system
if ( !LLPathingLib::getInstance() )
{
@@ -250,6 +250,7 @@ void LLFloaterPathfindingConsole::onClose(bool pIsAppQuitting) }
LLPathingLib::getInstance()->cleanupResidual();
LLFloater::onClose(pIsAppQuitting);
+ setHeartBeat( false );
}
BOOL LLFloaterPathfindingConsole::handleAnyMouseClick(S32 x, S32 y, MASK mask, EClickType clicktype, BOOL down)
@@ -540,7 +541,8 @@ LLFloaterPathfindingConsole::LLFloaterPathfindingConsole(const LLSD& pSeed) mNavMeshCnt(0),
mHasStartPoint(false),
mHasEndPoint(false),
- mNeighboringRegion( CURRENT_REGION )
+ mNeighboringRegion( CURRENT_REGION ),
+ mHeartBeat( false )
{
mSelfHandle.bind(this);
|