diff options
author | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
commit | 117e22047c5752352342d64e3fb7ce00a4eb8113 (patch) | |
tree | e32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/newview/llhudtext.cpp | |
parent | Second Life viewer sources 1.18.0.6 (diff) | |
download | meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2 meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz |
Second Life viewer sources 1.18.1.2
Diffstat (limited to 'linden/indra/newview/llhudtext.cpp')
-rw-r--r-- | linden/indra/newview/llhudtext.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llhudtext.cpp b/linden/indra/newview/llhudtext.cpp index fce52f1..20bf486 100644 --- a/linden/indra/newview/llhudtext.cpp +++ b/linden/indra/newview/llhudtext.cpp | |||
@@ -859,7 +859,8 @@ void LLHUDText::updateAll() | |||
859 | } | 859 | } |
860 | if (src_textp->mSoftScreenRect.rectInRect(&dst_textp->mSoftScreenRect)) | 860 | if (src_textp->mSoftScreenRect.rectInRect(&dst_textp->mSoftScreenRect)) |
861 | { | 861 | { |
862 | LLRectf intersect_rect = src_textp->mSoftScreenRect & dst_textp->mSoftScreenRect; | 862 | LLRectf intersect_rect = src_textp->mSoftScreenRect; |
863 | intersect_rect.intersectWith(dst_textp->mSoftScreenRect); | ||
863 | intersect_rect.stretch(-BUFFER_SIZE * 0.5f); | 864 | intersect_rect.stretch(-BUFFER_SIZE * 0.5f); |
864 | 865 | ||
865 | F32 src_center_x = src_textp->mSoftScreenRect.getCenterX(); | 866 | F32 src_center_x = src_textp->mSoftScreenRect.getCenterX(); |