From dfdbfdbed603d762ad01dcaa84f8a8d06dac0169 Mon Sep 17 00:00:00 2001 From: Todd Stinson Date: Wed, 11 Apr 2012 13:39:25 -0700 Subject: Should not be recomputing the temporary path when settin gthe width and type. --- indra/newview/llpathfindingpathtool.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'indra') diff --git a/indra/newview/llpathfindingpathtool.cpp b/indra/newview/llpathfindingpathtool.cpp index 03e441a7f2..0497a8972f 100644 --- a/indra/newview/llpathfindingpathtool.cpp +++ b/indra/newview/llpathfindingpathtool.cpp @@ -229,7 +229,6 @@ void LLPathfindingPathTool::setCharacterWidth(F32 pCharacterWidth) mFinalPathData.mCharacterWidth = pCharacterWidth; mTempPathData.mCharacterWidth = pCharacterWidth; computeFinalPath(); - computeTempPath(); } LLPathfindingPathTool::ECharacterType LLPathfindingPathTool::getCharacterType() const @@ -267,7 +266,6 @@ void LLPathfindingPathTool::setCharacterType(ECharacterType pCharacterType) mFinalPathData.mCharacterType = characterType; mTempPathData.mCharacterType = characterType; computeFinalPath(); - computeTempPath(); } bool LLPathfindingPathTool::isRenderPath() const -- cgit v1.2.3