summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-04-10 12:19:33 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-04-10 12:19:33 -0700
commitda5601baee84e12895b557e06ee17664d0c93c66 (patch)
tree64c2c28b4f1d41dea4dd6082b6cb62d9f24dd7be /indra
parent7a60a12531769629ba20914128581498256f3e2f (diff)
parentd3d19ba02cb4f8faaef5b96db7e3c1068e06ee27 (diff)
Pull and merge from ssh://hg@bitbucket.org/stinson_linden/viewer-development-havokai.
Diffstat (limited to 'indra')
-rw-r--r--indra/llrender/llrendernavprim.cpp2
-rw-r--r--indra/llrender/llrendernavprim.h4
-rw-r--r--indra/newview/llpathfindingpathtool.cpp4
3 files changed, 6 insertions, 4 deletions
diff --git a/indra/llrender/llrendernavprim.cpp b/indra/llrender/llrendernavprim.cpp
index 100b614aae..c24a09028f 100644
--- a/indra/llrender/llrendernavprim.cpp
+++ b/indra/llrender/llrendernavprim.cpp
@@ -62,7 +62,7 @@ void LLRenderNavPrim::renderTri( const LLVector3& a, const LLVector3& b, const L
gGL.end();
}
//=============================================================================
-void LLRenderNavPrim::renderLLTri( const LLVector3& a, const LLVector3& b, const LLVector3& c, const LLColor4U& color, const LLVector3& n ) const
+void LLRenderNavPrim::renderLLTri( const LLVector3& a, const LLVector3& b, const LLVector3& c, const LLColor4U& color ) const
{
LLColor4 cV(color);
gGL.color4fv( cV.mV );
diff --git a/indra/llrender/llrendernavprim.h b/indra/llrender/llrendernavprim.h
index 97d1c805af..eb45e259d2 100644
--- a/indra/llrender/llrendernavprim.h
+++ b/indra/llrender/llrendernavprim.h
@@ -43,8 +43,8 @@ public:
void renderLLSegment( const LLVector3& start, const LLVector3& end, const LLColor4U& color ) const;
//Draw simple tri
void renderTri( const LLVector3& a, const LLVector3& b, const LLVector3& c, int color ) const;
- //Draw simple tri
- void renderLLTri( const LLVector3& a, const LLVector3& b, const LLVector3& c, const LLColor4U& color, const LLVector3& n ) const;
+ //Draw simple tri
+ void renderLLTri( const LLVector3& a, const LLVector3& b, const LLVector3& c, const LLColor4U& color ) const;
//Draw the contents of vertex buffer
void renderNavMeshVB( U32 mode, LLVertexBuffer* pVBO, int vertCnt );
//Draw a star
diff --git a/indra/newview/llpathfindingpathtool.cpp b/indra/newview/llpathfindingpathtool.cpp
index 5825f3d392..11759f5523 100644
--- a/indra/newview/llpathfindingpathtool.cpp
+++ b/indra/newview/llpathfindingpathtool.cpp
@@ -57,6 +57,8 @@ LLPathfindingPathTool::LLPathfindingPathTool()
{
LLPathingLib::initSystem();
}
+
+ mFinalPathData.mCharacterWidth = mCharacterWidth;
}
LLPathfindingPathTool::~LLPathfindingPathTool()
@@ -115,7 +117,7 @@ BOOL LLPathfindingPathTool::handleHover(S32 pX, S32 pY, MASK pMask)
mTempPathData.mStartPointB = mFinalPathData.mStartPointB;
mTempPathData.mEndPointB = mFinalPathData.mEndPointB;
mHasTempEndPoint = mHasFinalEndPoint;
- }
+ }
else if (isEndPathToolModKeys(pMask))
{
mTempPathData.mStartPointB = rayStart;