summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2011-11-28 11:34:53 -0700
committerXiaohong Bao <bao@lindenlab.com>2011-11-28 11:34:53 -0700
commitfcd232e0fb9ebd18a1d3c967147232912425bc53 (patch)
treebfb7a9213e8a3da483a42cc69f16fa1a9e185b3c /indra/llui
parenta375272ff5cabb97593129523d4e326cb3d0fda2 (diff)
parent2851cd519338ef4a1fde15da8d4015ab4380d6cb (diff)
Automated merge with https://bitbucket.org/VirLinden/viewer-development-shining-fixes
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llui.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/llui/llui.cpp b/indra/llui/llui.cpp
index 79ad99a770..69461ec099 100644
--- a/indra/llui/llui.cpp
+++ b/indra/llui/llui.cpp
@@ -1823,9 +1823,12 @@ void LLUI::setupPaths()
LLXMLNodePtr root;
BOOL success = LLXMLNode::parseFile(filename, root, NULL);
Paths paths;
- LLXUIParser parser;
- parser.readXUI(root, paths, filename);
+ if(success)
+ {
+ LLXUIParser parser;
+ parser.readXUI(root, paths, filename);
+ }
sXUIPaths.clear();
if (success && paths.validateBlock())