summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorrichard <none@none>2010-02-01 13:50:15 -0800
committerrichard <none@none>2010-02-01 13:50:15 -0800
commit8dbb2c6fd12bf86492ed1cf08e89fa064a23057b (patch)
tree43963bc1278d4ec1a583bd966bbaa9c12f0697ad /indra
parent45e700cb3ef9c56aaf373a8b4acafb4fc07a5972 (diff)
removed redundant code
Diffstat (limited to 'indra')
-rw-r--r--indra/llui/lltextbase.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp
index 255a95c8eb..0312802b44 100644
--- a/indra/llui/lltextbase.cpp
+++ b/indra/llui/lltextbase.cpp
@@ -1017,16 +1017,6 @@ 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