diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2012-10-12 08:42:18 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2012-10-12 08:42:18 -0400 |
commit | 6ca37068080e3b26e5cb163dfd874bc0e2f4c837 (patch) | |
tree | 9e669c919167fbca786124bc4e99e6ebd27eed5a /indra/llui/lluictrl.h | |
parent | 730d13a76a4b06e6dbdd4bd5829a90bcb98b52b3 (diff) |
LLUICtrlFactory::getLayeredXMLNode() gets LLDir::ESkinConstraint.
At this point, LLUICtrlFactory::getLayeredXMLNode() is a pretty thin wrapper
around LLDir::findSkinnedFilenames() and LLXMLNode::getLayeredXMLNode().
Until now, LLUICtrlFactory::getLayeredXMLNode() passed (by default)
LLDir::CURRENT_SKIN to LLDir::findSkinnedFilenames(). But that meant that a
caller such as LLTransUtil::parseStrings() that wants almost the same
functionality, but with LLDir::ALL_SKINS instead, had to clone the logic from
LLUICtrlFactory::getLayeredXMLNode(). Allowing its caller to pass the desired
LLDir::ESkinConstraint enum value eliminates the need to clone its logic.
Remove cloned logic from LLTransUtil::parseStrings().
Diffstat (limited to 'indra/llui/lluictrl.h')
0 files changed, 0 insertions, 0 deletions