diff options
author | Graham Linden <graham@lindenlab.com> | 2019-08-28 14:27:14 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-08-28 14:27:14 -0700 |
commit | 5b1dd8a18cbc221e768095f77f78072ee19c1e64 (patch) | |
tree | fb9e3f3a8178b2670c27a773e28eef7f4d353ad8 /indra/newview/llspatialpartition.cpp | |
parent | fd4a90858c9beb147eb312f3c41396435d389c4d (diff) |
SL-11772
Modify behavior of culling while doing reflection/refraction passes.
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
-rw-r--r-- | indra/newview/llspatialpartition.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index b24f37fc72..77bbcdada6 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -1089,6 +1089,11 @@ public: virtual bool earlyFail(LLViewerOctreeGroup* base_group) { + if (LLPipeline::sReflectionRender) + { + return false; + } + LLSpatialGroup* group = (LLSpatialGroup*)base_group; group->checkOcclusion(); |