summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpathfindingconsole.cpp
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-01-04 16:16:40 -0800
committerTodd Stinson <stinson@lindenlab.com>2012-01-04 16:16:40 -0800
commit7cae41cd59c1ea1df4c0bfc40b6cc205044a05b3 (patch)
tree22d6106e7a739e2f7ce7602d602855db827cfaa5 /indra/newview/llfloaterpathfindingconsole.cpp
parent10614ebd917f4dbb8a16e8a0473409c42f8d7608 (diff)
parent96e8d4876a022cb74dc58f77717ff672eb217bf6 (diff)
Pull and merge from https://bitbucket.org/stinson_linden/viewer-development-havokai.
Diffstat (limited to 'indra/newview/llfloaterpathfindingconsole.cpp')
-rw-r--r--indra/newview/llfloaterpathfindingconsole.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llfloaterpathfindingconsole.cpp b/indra/newview/llfloaterpathfindingconsole.cpp
index f66930da79..3bf316fdf6 100644
--- a/indra/newview/llfloaterpathfindingconsole.cpp
+++ b/indra/newview/llfloaterpathfindingconsole.cpp
@@ -32,7 +32,6 @@
#include "llsd.h"
#include "llagent.h"
#include "llbutton.h"
-#include "llcheckboxctrl.h"
#include "llradiogroup.h"
#include "llsliderctrl.h"
#include "lllineeditor.h"
@@ -558,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;