diff options
author | Denis Serdjuk <dserduk@productengine.com> | 2010-01-25 15:15:06 +0200 |
---|---|---|
committer | Denis Serdjuk <dserduk@productengine.com> | 2010-01-25 15:15:06 +0200 |
commit | 410e105f5293813dc63542414382e67273ab1d52 (patch) | |
tree | 89b1b7592087bb14bd47892e8c79de9b86d8e6c3 /indra | |
parent | eff95bbea9bb9234e9df9fca7f5bc033f1b99358 (diff) |
fixed bug EXT-4433 [BSI] friend privacy settings greyed out
EXT-4353, EXT-4587, EXT-4442 have same cause. it should fix they.
--HG--
branch : product-engine
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llui/lltextbase.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index 17aecaf32f..47db990a37 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -1009,6 +1009,16 @@ void LLTextBase::draw() void LLTextBase::setColor( const LLColor4& c ) { mFgColor = c; + //textsegments have own style property , + //so we have to update it also to apply changes, EXT-4433 + for(segment_set_t::iterator it = mSegments.begin(); it != mSegments.end(); it++) + { + LLTextSegment* segment = it->get(); + if(segment) + { + segment->setColor(mFgColor); + } + } } //virtual |