aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llhudtext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llhudtext.cpp')
-rw-r--r--linden/indra/newview/llhudtext.cpp3
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();