diff options
| author | Roxie Linden <roxie@lindenlab.com> | 2010-02-25 16:50:21 -0800 |
|---|---|---|
| committer | Roxie Linden <roxie@lindenlab.com> | 2010-02-25 16:50:21 -0800 |
| commit | 5ed6e0720af1b6cdf1a983e2c040eeb5d8ae33ba (patch) | |
| tree | 5d0141f43cfaf59e5cb62eb2f4ca9541160e6173 /indra/llui/lltextbase.cpp | |
| parent | 3ab4b0f58326a01a09aa99f262c03d2703215af2 (diff) | |
| parent | 6e932911d5b0a02b44caf3bf81a9c00fd0e1dc89 (diff) | |
warn-on-failure:unix-eol
automated merge from trunk
Diffstat (limited to 'indra/llui/lltextbase.cpp')
| -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 |
