Ensuring that the defaults are synced after building the pathfinding console and pathfinding path tool.

meow-7.2.2
Todd Stinson 2012-04-10 12:34:03 -07:00
parent da5601baee
commit ba2a9aa8ca
2 changed files with 4 additions and 1 deletions

View File

@ -158,6 +158,8 @@ BOOL LLFloaterPathfindingConsole::postBuild()
mPathfindingToolset->addTool(LLPathfindingPathTool::getInstance());
mPathfindingToolset->addTool(LLToolCamera::getInstance());
mPathfindingToolset->setShowFloaterTools(false);
updateCharacterWidth();
updateCharacterType();
return LLFloater::postBuild();
}

View File

@ -58,7 +58,8 @@ LLPathfindingPathTool::LLPathfindingPathTool()
LLPathingLib::initSystem();
}
mFinalPathData.mCharacterWidth = mCharacterWidth;
setCharacterWidth(mCharacterWidth);
setCharacterType(mCharacterType);
}
LLPathfindingPathTool::~LLPathfindingPathTool()