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 | 1df3e85d2d73820a3129ebeb1a3e4c88338e5a93 (patch) | |
| tree | e16e73e993a851963b24de6f99f5dba78d03b54d /indra/newview/llspatialpartition.cpp | |
| parent | f5c9196b365eee1032ead18a36320384deffc81a (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 3742f70df5..77c38798d1 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); } |
