diff options
| author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-07-20 11:44:26 -0400 |
|---|---|---|
| committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-07-20 11:44:26 -0400 |
| commit | b0c700bfa0b94ca9288470d1bae78ce12369d4f5 (patch) | |
| tree | a9ba02e80bf88d6234f34c35d63b05dc5c27e8e1 /indra/newview/llface.cpp | |
| parent | 06aa2322b2b769fec118ac1f2f0f51c915f5ec23 (diff) | |
| parent | 62040b686568410cdd87d12228b48f0b2ee12f1b (diff) | |
merge
Diffstat (limited to 'indra/newview/llface.cpp')
| -rw-r--r-- | indra/newview/llface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index dbbcb6e7c4..f299518474 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -1364,7 +1364,7 @@ F32 LLFace::getTextureVirtualSize() F32 cos_angle_to_view_dir; BOOL in_frustum = calcPixelArea(cos_angle_to_view_dir, radius); - if (mPixelArea < 0.0001f || !in_frustum) + if (mPixelArea < F_ALMOST_ZERO || !in_frustum) { setVirtualSize(0.f) ; return 0.f; |
