diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp index 8bb69753e..2af4613de 100644 --- a/indra/llui/llfloater.cpp +++ b/indra/llui/llfloater.cpp @@ -1910,7 +1910,7 @@ LLRect LLFloaterView::findNeighboringPosition( LLFloater* reference_floater, LLF if (sibling && sibling != neighbor && sibling->getVisible() && - expanded_base_rect.contains(sibling->getRect())) + expanded_base_rect.overlaps(sibling->getRect())) { base_rect.unionWith(sibling->getRect()); } diff --git a/indra/llui/llview.cpp b/indra/llui/llview.cpp index 0def6f5ed..ab1552fb6 100644 --- a/indra/llui/llview.cpp +++ b/indra/llui/llview.cpp @@ -1355,7 +1355,7 @@ void LLView::draw() { // Only draw views that are within the root view localRectToScreen(viewp->getRect(),&screenRect); - if ( rootRect.contains(screenRect) ) + if ( rootRect.overlaps(screenRect) ) { glMatrixMode(GL_MODELVIEW); LLUI::pushMatrix(); diff --git a/indra/newview/llhudtext.cpp b/indra/newview/llhudtext.cpp index fefca2542..14a725d80 100644 --- a/indra/newview/llhudtext.cpp +++ b/indra/newview/llhudtext.cpp @@ -1049,7 +1049,7 @@ void LLHUDText::updateAll() { continue; } - if (src_textp->mSoftScreenRect.contains(dst_textp->mSoftScreenRect)) + if (src_textp->mSoftScreenRect.overlaps(dst_textp->mSoftScreenRect)) { LLRectf intersect_rect = src_textp->mSoftScreenRect; intersect_rect.intersectWith(dst_textp->mSoftScreenRect);