diff options
author | Dave Parks <davep@lindenlab.com> | 2010-04-08 20:42:55 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-04-08 20:42:55 -0500 |
commit | 53e791b299d51df3891a177b52dc5e1dc5dc5825 (patch) | |
tree | ce779f1482daa26b6fa4b61db1794b05cd55b669 /indra/newview/llspatialpartition.cpp | |
parent | 4cea9a726e1569a05201d1b4557f664d42501c60 (diff) |
Total fix for shadows going wonky at altitude.
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
-rw-r--r-- | indra/newview/llspatialpartition.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index cf1e3bf186..c229657ded 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -1924,11 +1924,8 @@ public: return; } - if (mRes == 2) - { - //fully in, don't traverse further (won't effect extents - } - else if (mRes && group->isState(LLSpatialGroup::SKIP_FRUSTUM_CHECK)) + if ((mRes && group->isState(LLSpatialGroup::SKIP_FRUSTUM_CHECK)) || + mRes == 2) { //don't need to do frustum check LLSpatialGroup::OctreeTraveler::traverse(n); } |