diff options
| author | prep <prep@lindenlab.com> | 2012-03-12 15:04:09 -0400 |
|---|---|---|
| committer | prep <prep@lindenlab.com> | 2012-03-12 15:04:09 -0400 |
| commit | e558f5cb0b8c0937da0f08a1af149afbc497462c (patch) | |
| tree | 110d585c0fe869443facb51209078c5ac383c2d5 /indra/newview/llfloaterpathfindingconsole.cpp | |
| parent | 999626e0716db71bac431a4703025a1b1430dcef (diff) | |
path-405: Avatar is no longer frozen when pathing window is up and when avatar crosses a region boundary the resident is informed with a message in the pathing window.
Diffstat (limited to 'indra/newview/llfloaterpathfindingconsole.cpp')
| -rw-r--r-- | indra/newview/llfloaterpathfindingconsole.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llfloaterpathfindingconsole.cpp b/indra/newview/llfloaterpathfindingconsole.cpp index 493b4617b5..c336a30bc9 100644 --- a/indra/newview/llfloaterpathfindingconsole.cpp +++ b/indra/newview/llfloaterpathfindingconsole.cpp @@ -873,3 +873,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 |
