From 4559c557650dfebc7aa0849c589d9b75980e7424 Mon Sep 17 00:00:00 2001 From: Adam Moss Date: Thu, 10 Sep 2009 19:08:11 +0000 Subject: revisit the fix for these: DEV-30182 Tooltips lose their translucent background DEV-30508 Chat bar changes from white to dark upon text entry DEV-30830 Text color change after UI size change DEV-30751 Create object Name text field is grey out reviewed by Q. --- indra/llrender/llfontfreetype.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/llrender/llfontfreetype.cpp') diff --git a/indra/llrender/llfontfreetype.cpp b/indra/llrender/llfontfreetype.cpp index 0be6bedbee..44e997340e 100644 --- a/indra/llrender/llfontfreetype.cpp +++ b/indra/llrender/llfontfreetype.cpp @@ -533,6 +533,7 @@ void LLFontFreetype::renderGlyph(U32 glyph_index) const void LLFontFreetype::reset(F32 vert_dpi, F32 horz_dpi) { + resetBitmapCache(); if (!mIsFallback) { // This is the head of the list - need to rebuild ourself and all fallbacks. @@ -552,7 +553,6 @@ void LLFontFreetype::reset(F32 vert_dpi, F32 horz_dpi) } } } - resetBitmapCache(); } void LLFontFreetype::resetBitmapCache() @@ -568,7 +568,7 @@ void LLFontFreetype::resetBitmapCache() } mFontBitmapCachep->reset(); - // Add the empty glyph`5 + // Add the empty glyph addGlyph(0, 0); } -- cgit v1.2.3