summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpathfindingconsole.cpp
diff options
context:
space:
mode:
authorprep <none@none>2012-03-29 11:20:32 -0400
committerprep <none@none>2012-03-29 11:20:32 -0400
commit0e7311caa73e598e8a2df626c67a74bdff23446e (patch)
treebf469e224d6d2bf9148767b0fcc4701d6ab0465a /indra/newview/llfloaterpathfindingconsole.cpp
parent07f2cc34befae376cf7398650a285be3eced073d (diff)
Exposed star(valid/invalid) and test path colors. Refactored path drawing code to use ll f()'s
Diffstat (limited to 'indra/newview/llfloaterpathfindingconsole.cpp')
-rw-r--r--indra/newview/llfloaterpathfindingconsole.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llfloaterpathfindingconsole.cpp b/indra/newview/llfloaterpathfindingconsole.cpp
index fd50b4370e..1f73f10b9b 100644
--- a/indra/newview/llfloaterpathfindingconsole.cpp
+++ b/indra/newview/llfloaterpathfindingconsole.cpp
@@ -1051,6 +1051,18 @@ void LLFloaterPathfindingConsole::fillInColorsForNavMeshVisualization()
a = gSavedSettings.getF32("FaceColorA");
colors.mFaceColor= LLColor4U( (U8)in[0],(U8)in[1],(U8)in[2],(U8)a );
+ in = gSavedSettings.getVector3("StarValidColorRGB");
+ a = gSavedSettings.getF32("StarValidColorA");
+ colors.mStarValid= LLColor4U( (U8)in[0],(U8)in[1],(U8)in[2],(U8)a );
+
+ in = gSavedSettings.getVector3("StarInvalidRGB");
+ a = gSavedSettings.getF32("StarInvalidA");
+ colors.mStarInvalid= LLColor4U( (U8)in[0],(U8)in[1],(U8)in[2],(U8)a );
+
+ in = gSavedSettings.getVector3("TestPathColorRGB");
+ a = gSavedSettings.getF32("TestPathColorA");
+ colors.mTestPath= LLColor4U( (U8)in[0],(U8)in[1],(U8)in[2],(U8)a );
+
in = gSavedSettings.getVector3("NavMeshClearRGB");
colors.mNavMeshClear= LLColor4(in[0], in[1], in[2], 0);