diff options
author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2016-06-08 03:49:55 +0300 |
---|---|---|
committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2016-06-08 03:49:55 +0300 |
commit | f9023371ba6b9bae9eef353ca8b42e4619b8ee01 (patch) | |
tree | d60b36f451fa59535901edc794a0944dec5baac0 /indra/llui | |
parent | 02cf29d1e77e35ff6b4e8c9aeb19b4a8ef5098a4 (diff) |
MAINT-6461 Added a null check
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llview.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llview.cpp b/indra/llui/llview.cpp index 8f7cac1f61..62c3f401bf 100644 --- a/indra/llui/llview.cpp +++ b/indra/llui/llview.cpp @@ -588,6 +588,11 @@ void LLView::onVisibilityChange ( BOOL new_visibility ) BOOL log_visibility_change = LLViewerEventRecorder::instance().getLoggingStatus(); BOOST_FOREACH(LLView* viewp, mChildList) { + if (!viewp) + { + continue; + } + // only views that are themselves visible will have their overall visibility affected by their ancestors old_visibility=viewp->getVisible(); |