diff options
| author | Xiaohong Bao <bao@lindenlab.com> | 2010-07-19 18:27:17 -0600 |
|---|---|---|
| committer | Xiaohong Bao <bao@lindenlab.com> | 2010-07-19 18:27:17 -0600 |
| commit | 62040b686568410cdd87d12228b48f0b2ee12f1b (patch) | |
| tree | f9e1ff9ace78bdf68eda26c6c9374678e2b7c1c5 /indra/newview/llface.cpp | |
| parent | 39ae8785b459255f5fcc432cb2b5d5bed3ab2ba9 (diff) | |
| parent | bab5ef916cb8e3645a4c26b2f7ea5be8a805c5bd (diff) | |
Automated merge with ssh://hg.lindenlab.com/q/viewer-release
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; |
