MAINT-5893 Issue with muted agent's attached lighting still rendering.

Wed, 24 Feb 2016 17:40:45 +0200

author
Mnikolenko ProductEngine <mnikolenko@productengine.com>
date
Wed, 24 Feb 2016 17:40:45 +0200
changeset 48895
d30b4fc0df9d
parent 48894
c4ff0fa4d023
child 48897
6eda2cd4ecc3

MAINT-5893 Issue with muted agent's attached lighting still rendering.

indra/newview/pipeline.cpp file | annotate | diff | revisions
     1.1 --- a/indra/newview/pipeline.cpp	Wed Feb 24 16:39:48 2016 +0200
     1.2 +++ b/indra/newview/pipeline.cpp	Wed Feb 24 17:40:45 2016 +0200
     1.3 @@ -8661,6 +8661,11 @@
     1.4  						}
     1.5  					}
     1.6  
     1.7 +					const LLViewerObject *vobj = drawablep->getVObj();
     1.8 +					if(vobj && vobj->getAvatar() && vobj->getAvatar()->isInMuteList())
     1.9 +					{
    1.10 +						continue;
    1.11 +					}
    1.12  
    1.13  					LLVector4a center;
    1.14  					center.load3(drawablep->getPositionAgent().mV);

mercurial