Skip to content
Snippets Groups Projects
Commit f9023371 authored by AndreyL ProductEngine's avatar AndreyL ProductEngine
Browse files

MAINT-6461 Added a null check

parent 02cf29d1
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment