diff options
author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2019-09-06 01:41:11 +0300 |
---|---|---|
committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2019-09-06 01:41:11 +0300 |
commit | 7411bff293f5f0240076bb5d5975ac4c50630aca (patch) | |
tree | 8366e504666ea5906dbe2766e4879cf290c3a1dc /indra/newview | |
parent | 894725f3314d24c20414a9a2491cf0cd59882788 (diff) |
Mac buildfix
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/pipeline.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index a5f99676b4..65438ef05d 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -8685,8 +8685,7 @@ void LLPipeline::renderDeferredLighting() } const LLViewerObject *vobj = drawablep->getVObj(); - if(vobj && vobj->getAvatar() - && (vobj->getAvatar()->isTooComplex() || vobj->getAvatar()->isInMuteList()) + if((vobj && vobj->getAvatar() && (vobj->getAvatar()->isTooComplex() || vobj->getAvatar()->isInMuteList())) || (vobj && dist_vec(vobj->getPosition(), LLViewerCamera::getInstance()->getOrigin()) > RenderFarClip)) { continue; |