diff options
| author | Dave Parks <davep@lindenlab.com> | 2010-04-21 16:52:03 -0500 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2010-04-21 16:52:03 -0500 |
| commit | 6e7bd47bea51c54377943314cbc51361399f8176 (patch) | |
| tree | 6a4e32479105427a71110418d890147df4168dc3 /indra/newview/pipeline.cpp | |
| parent | 4d204d4903fdf8f4ea083f752a27d185dad63ce6 (diff) | |
| parent | 07856a0640ba5c881571952f6c67d40fe5651ebb (diff) | |
merge
Diffstat (limited to 'indra/newview/pipeline.cpp')
| -rw-r--r-- | indra/newview/pipeline.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 318d5d5ca1..44c95a4fd6 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -6747,6 +6747,15 @@ void LLPipeline::renderDeferredLighting() continue; } + if (volume->isAttachment()) + { + if (!sRenderAttachedLights) + { + continue; + } + } + + LLVector3 center = drawablep->getPositionAgent(); F32* c = center.mV; F32 s = volume->getLightRadius()*1.5f; |
