From 88052ff168fa50ae2828745adda240cfd1c17f30 Mon Sep 17 00:00:00 2001 From: prep Date: Wed, 4 Jan 2012 14:31:23 -0500 Subject: path-150: supply characterwidth to LLPathingLibrary: --- indra/newview/llfloaterpathfindingconsole.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'indra') 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; -- cgit v1.2.3