summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpathfindingconsole.cpp
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-03-13 10:34:25 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-03-13 10:34:25 -0700
commita8d5d6f45e34ff965fd9adc1d9824eb2840171a3 (patch)
tree6a12ee343917f8aba9a0ec382e748430b8acd6e7 /indra/newview/llfloaterpathfindingconsole.cpp
parentb84db8354d992cfddfd64eb80ebd80c4b6baf3f8 (diff)
parent87b414c4934d0d52eef0b323245568bb1e95ec70 (diff)
Pull and merge from ssh://hg@bitbucket.org/stinson_linden/viewer-development-havokai.
Diffstat (limited to 'indra/newview/llfloaterpathfindingconsole.cpp')
-rw-r--r--indra/newview/llfloaterpathfindingconsole.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/indra/newview/llfloaterpathfindingconsole.cpp b/indra/newview/llfloaterpathfindingconsole.cpp
index 487ef0933a..7e86819568 100644
--- a/indra/newview/llfloaterpathfindingconsole.cpp
+++ b/indra/newview/llfloaterpathfindingconsole.cpp
@@ -207,6 +207,13 @@ void LLFloaterPathfindingConsole::onClose(bool pIsAppQuitting)
LLFloater::onClose(pIsAppQuitting);
setHeartBeat( false );
setConsoleState(kConsoleStateUnknown);
+ //Reset all the checkboxes to default
+ mShowNavMeshCheckBox->set( false );
+ mShowWalkablesCheckBox->set( false );
+ mShowMaterialVolumesCheckBox->set( false );
+ mShowStaticObstaclesCheckBox->set( false );
+ mShowExclusionVolumesCheckBox->set( false );
+ mShowWorldCheckBox->set( false );
}
BOOL LLFloaterPathfindingConsole::handleAnyMouseClick(S32 x, S32 y, MASK mask, EClickType clicktype, BOOL down)
@@ -880,3 +887,12 @@ U32 LLFloaterPathfindingConsole::getRenderShapeFlags()
}
return mShapeRenderFlags;
}
+
+void LLFloaterPathfindingConsole::regionCrossingOccured()
+{
+ std::string statusText("");
+ LLStyle::Params styleParams;
+ styleParams.color = LLUIColorTable::instance().getColor("DrYellow");
+ statusText = getString("navmesh_update_needed");
+ mPathfindingStatus->setText((LLStringExplicit)statusText, styleParams);
+} \ No newline at end of file