diff options
author | Richard Linden <none@none> | 2010-08-05 13:18:11 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2010-08-05 13:18:11 -0700 |
commit | 9f220e46e5cc9350c64aeb81fc4d89c784f49b33 (patch) | |
tree | 8ffe0937785a98842d60f25b45fc6045efc1a1fa /indra/llui/lluictrlfactory.cpp | |
parent | d4668787addf870fca0dc1cbf03c756584838261 (diff) | |
parent | 52936c4ffe97172a5d4926e252f2a25515c47895 (diff) |
merge
Diffstat (limited to 'indra/llui/lluictrlfactory.cpp')
-rw-r--r-- | indra/llui/lluictrlfactory.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/llui/lluictrlfactory.cpp b/indra/llui/lluictrlfactory.cpp index a46d961709..6ad104c1f4 100644 --- a/indra/llui/lluictrlfactory.cpp +++ b/indra/llui/lluictrlfactory.cpp @@ -99,10 +99,11 @@ void LLUICtrlFactory::loadWidgetTemplate(const std::string& widget_tag, LLInitPa std::string filename = std::string("widgets") + gDirUtilp->getDirDelimiter() + widget_tag + ".xml"; LLXMLNodePtr root_node; - if (LLUICtrlFactory::getLayeredXMLNode(filename, root_node)) + std::string full_filename = gDirUtilp->findSkinnedFilename(LLUI::getXUIPaths().front(), filename); + if (!full_filename.empty()) { - LLUICtrlFactory::instance().pushFileName(filename); - LLXUIParser::instance().readXUI(root_node, block, filename); + LLUICtrlFactory::instance().pushFileName(full_filename); + LLFastXUIParser::instance().readXUI(full_filename, block); LLUICtrlFactory::instance().popFileName(); } } |