summaryrefslogtreecommitdiff
path: root/indra/llui/llview.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-04-08 16:41:56 -0700
committerRichard Linden <none@none>2010-04-08 16:41:56 -0700
commit70bbcf7c2d14e7e6e97e0297e01e0dae3565af13 (patch)
tree099d10ab7cca034db3a63eec6e8f9bc30f74609b /indra/llui/llview.cpp
parenta2a5d0f3e6a0f1cdfcbf7df3946014442316c39b (diff)
EXT-5849 - crash in LLView::drawChildren()
added logging to help track down cause
Diffstat (limited to 'indra/llui/llview.cpp')
-rw-r--r--indra/llui/llview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/llview.cpp b/indra/llui/llview.cpp
index d0dbc99bc7..7f0c93ec8a 100644
--- a/indra/llui/llview.cpp
+++ b/indra/llui/llview.cpp
@@ -1321,6 +1321,8 @@ void LLView::drawChildren()
if (viewp->getVisible() && viewp->getRect().isValid())
{
+ // check for bad data
+ llassert_always(viewp->getVisible() == TRUE);
// Only draw views that are within the root view
localRectToScreen(viewp->getRect(),&screenRect);
if ( rootRect.overlaps(screenRect) && LLUI::sDirtyRect.overlaps(screenRect))