From ba2a9aa8ca4c690a051269b973a20bbba0c0b572 Mon Sep 17 00:00:00 2001 From: Todd Stinson Date: Tue, 10 Apr 2012 12:34:03 -0700 Subject: Ensuring that the defaults are synced after building the pathfinding console and pathfinding path tool. --- indra/newview/llfloaterpathfindingconsole.cpp | 2 ++ indra/newview/llpathfindingpathtool.cpp | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/llfloaterpathfindingconsole.cpp b/indra/newview/llfloaterpathfindingconsole.cpp index afbf589e5e..fec26f9722 100644 --- a/indra/newview/llfloaterpathfindingconsole.cpp +++ b/indra/newview/llfloaterpathfindingconsole.cpp @@ -158,6 +158,8 @@ BOOL LLFloaterPathfindingConsole::postBuild() mPathfindingToolset->addTool(LLPathfindingPathTool::getInstance()); mPathfindingToolset->addTool(LLToolCamera::getInstance()); mPathfindingToolset->setShowFloaterTools(false); + updateCharacterWidth(); + updateCharacterType(); return LLFloater::postBuild(); } diff --git a/indra/newview/llpathfindingpathtool.cpp b/indra/newview/llpathfindingpathtool.cpp index 11759f5523..3952b70da7 100644 --- a/indra/newview/llpathfindingpathtool.cpp +++ b/indra/newview/llpathfindingpathtool.cpp @@ -58,7 +58,8 @@ LLPathfindingPathTool::LLPathfindingPathTool() LLPathingLib::initSystem(); } - mFinalPathData.mCharacterWidth = mCharacterWidth; + setCharacterWidth(mCharacterWidth); + setCharacterType(mCharacterType); } LLPathfindingPathTool::~LLPathfindingPathTool() -- cgit v1.2.3