summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorTodd Stinson <stinson@lindenlab.com>2012-04-10 12:34:03 -0700
committerTodd Stinson <stinson@lindenlab.com>2012-04-10 12:34:03 -0700
commitba2a9aa8ca4c690a051269b973a20bbba0c0b572 (patch)
treee93787de230e7ce9b12b811b2f73d01272007a8d /indra/newview
parentda5601baee84e12895b557e06ee17664d0c93c66 (diff)
Ensuring that the defaults are synced after building the pathfinding console and pathfinding path tool.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloaterpathfindingconsole.cpp2
-rw-r--r--indra/newview/llpathfindingpathtool.cpp3
2 files changed, 4 insertions, 1 deletions
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()