Whoopsies! Fixed some broken ui logic from first llmath merge.

This commit is contained in:
Shyotl
2011-02-23 02:54:00 -06:00
parent 3deb857ba1
commit 6fb8f9bc96
3 changed files with 3 additions and 3 deletions

View File

@@ -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();