MAINT-6461 Added a null check

master
AndreyL ProductEngine 2016-06-08 03:49:55 +03:00
parent 02cf29d1e7
commit f9023371ba
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();