summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorprep <prep@lindenlab.com>2012-01-04 14:31:23 -0500
committerprep <prep@lindenlab.com>2012-01-04 14:31:23 -0500
commit88052ff168fa50ae2828745adda240cfd1c17f30 (patch)
treef7ef966a53181b8908cce854c4e3038fb16acae6 /indra/newview
parentce49cbc00e9f6ed8fe43c913b02669103fbb1472 (diff)
path-150: supply characterwidth to LLPathingLibrary:
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloaterpathfindingconsole.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llfloaterpathfindingconsole.cpp b/indra/newview/llfloaterpathfindingconsole.cpp
index efa3a592e0..3bf316fdf6 100644
--- a/indra/newview/llfloaterpathfindingconsole.cpp
+++ b/indra/newview/llfloaterpathfindingconsole.cpp
@@ -557,8 +557,9 @@ void LLFloaterPathfindingConsole::providePathingData( const LLVector3& point1, c
break;
case kPathSelectEndPoint :
- mPathData.mStartPointB = point1;
- mPathData.mEndPointB = point2;
+ mPathData.mStartPointB = point1;
+ mPathData.mEndPointB = point2;
+ mPathData.mCharacterWidth = getCharacterWidth();
//prep#TODO# possibly consider an alternate behavior - perhaps add a "path" button to submit the data.
LLPathingLib::getInstance()->generatePath( mPathData );
break;