summaryrefslogtreecommitdiff
path: root/indra/newview/llface.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2010-07-19 18:27:17 -0600
committerXiaohong Bao <bao@lindenlab.com>2010-07-19 18:27:17 -0600
commit62040b686568410cdd87d12228b48f0b2ee12f1b (patch)
treef9e1ff9ace78bdf68eda26c6c9374678e2b7c1c5 /indra/newview/llface.cpp
parent39ae8785b459255f5fcc432cb2b5d5bed3ab2ba9 (diff)
parentbab5ef916cb8e3645a4c26b2f7ea5be8a805c5bd (diff)
Automated merge with ssh://hg.lindenlab.com/q/viewer-release
Diffstat (limited to 'indra/newview/llface.cpp')
-rw-r--r--indra/newview/llface.cpp2
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;