diff options
| author | Graham Madarasz <graham@lindenlab.com> | 2013-06-12 12:19:48 -0700 |
|---|---|---|
| committer | Graham Madarasz <graham@lindenlab.com> | 2013-06-12 12:19:48 -0700 |
| commit | 88553c9eb1aee59d092cbd73c64da82497fd095f (patch) | |
| tree | ee99d4aae0b2feccb8025057b562a32e886a7948 /indra/newview/llspatialpartition.cpp | |
| parent | b070bb1c2279189c45ee786e125134f067951bde (diff) | |
Cleanup rollback and try point MIPs experiment to see if that's what is hosing the Mac on 10.6.8
Diffstat (limited to 'indra/newview/llspatialpartition.cpp')
| -rwxr-xr-x | indra/newview/llspatialpartition.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index dc99fd469b..78401020a6 100755 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -1259,15 +1259,12 @@ F32 LLSpatialPartition::calcDistance(LLSpatialGroup* group, LLCamera& camera) F32 dist = 0.f; - LLVector4a default_eyevec; - default_eyevec.set(0,0,1,1); - if (group->mDrawMap.find(LLRenderPass::PASS_ALPHA) != group->mDrawMap.end()) { LLVector4a v = eye; dist = eye.getLength3().getF32(); - eye.normalize3fast_checked(&default_eyevec); + eye.normalize3fast(); if (!group->isState(LLSpatialGroup::ALPHA_DIRTY)) { |
