diff options
| author | Steven Bennetts <steve@lindenlab.com> | 2008-08-12 17:29:50 +0000 |
|---|---|---|
| committer | Steven Bennetts <steve@lindenlab.com> | 2008-08-12 17:29:50 +0000 |
| commit | 80be4c1d2d73982ea2df6dd7ef3fc3465416c882 (patch) | |
| tree | 9c5958572368be494b6302db8b03967a2c67b7ad /indra/newview/llstylemap.cpp | |
| parent | a09f7d41efdb945755efaeb07f7418c1f6e2a78b (diff) | |
QAR-767 Combined maint-render-7 and maint-viewer-9 merge
merge release@93398 viewer-merge-1@94007 -> release
dataserver-is-deprecated
Diffstat (limited to 'indra/newview/llstylemap.cpp')
| -rw-r--r-- | indra/newview/llstylemap.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/llstylemap.cpp b/indra/newview/llstylemap.cpp index 0f092b31c4..bff23590d3 100644 --- a/indra/newview/llstylemap.cpp +++ b/indra/newview/llstylemap.cpp @@ -73,3 +73,13 @@ const LLStyleSP &LLStyleMap::lookup(const LLUUID &source) } return (*this)[source]; } + +void LLStyleMap::update() +{ + for (style_map_t::iterator iter = begin(); iter != end(); ++iter) + { + LLStyleSP &style = iter->second; + // Update the link color in case it has been changed. + style->setColor(gSavedSettings.getColor4("HTMLLinkColor")); + } +} |
