Merged in andreyl_productengine/viewer-lynx-marchcat (pull request #25)

MAINT-6461 Added a null check
meow-7.2.2
Andrey Lihatskiy 2016-06-08 04:45:51 +03:00
commit 9177aa3bb6
1 changed files with 5 additions and 0 deletions

View File

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